Projekte
Auf GitHub ansehen
webpatser/laravel-countries
Über uns
Laravel Countries ist ein Paket für Laravel, das für alle Länder nahezu ISO 3166_2- und 3166_3-konforme Daten sowie Währungen, Hauptstädte und weitere Angaben bereitstellt.
Web- und App-EntwicklungWhat you can do
- 🌍 All 249 countries with complete data
- 🏷️ Common names (name) and official names (full_name)
- 🏳️ Flag emojis for every country
- 💰 Currency information and filtering
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalLaravel Countries
A comprehensive Laravel package for handling countries data with all 249 countries, flags, currencies, regions, and more.
Installation
Install via Composer:
composer require webpatser/laravel-countries
Run the installation command to set up the database:
php artisan countries:install
Quick Usage
use Webpatser\Countries\Countries;
$countries = new Countries();
$usa = $countries->getOne('US');
// $usa['name'] => 'United States'
// $usa['full_name'] => 'United States of America'
$allCountries = $countries->getList();
$euroCountries = $countries->getByCurrency('EUR');
Features
- 🌍 All 249 countries with complete data
- 🏷️ Common names (
name) and official names (full_name) - 🏳️ Flag emojis for every country
- 💰 Currency information and filtering
- 🌏 Regional grouping and filtering
- 🔍 Search and query capabilities
- 📋 Laravel validation rules
- 🎨 Collection and String macros
- 🗄️ Eloquent model support
Documentation
For complete documentation, examples, and API reference, visit:
https://documentation.downsized.nl/laravel-countries
License
MIT License
Ähnliche Projekte entdecken
Wird geladen…