Skip to content
프로젝트

소개

Laravel Countries는 Laravel용 번들로, 모든 국가의 ISO 3166_2 및 3166_3에 거의 준하는 정보와 통화, 수도 등의 데이터를 제공합니다.

웹 및 앱 개발

이 수치를 측정하는 방법

What 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

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Laravel Countries

Total Downloads PHP Version Laravel Version License

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

관련 프로젝트 살펴보기

불러오는 중…