文件名称:laravel-addressing:提供寻址功能的 Laravel 包
文件大小:60KB
文件格式:ZIP
更新时间:2024-06-19 23:35:05
PHP
Laravel 寻址 Laravel 包提供基于寻址功能 安装 首先,安装 composer 包: composer require galahad/laravel-addressing 基本用法 国家 $ country = Addressing :: country ( 'US' ); echo $ country -> getName (); // "United States" echo $ country -> getCountryCode (); // "US" 行政区域(通常是州或省) $ usa = Addressing :: country ( 'US' ); echo $ usa -> administrativeArea ( 'AL' )-> getName (); // "Alabama" echo $ usa -> administrativeArea
【文件预览】:
laravel-addressing-master
----.gitignore(218B)
----lang()
--------pt-br()
--------en()
----src()
--------Entity()
--------LaravelAddressing.php(5KB)
--------Collection()
--------Support()
----.travis.yml(888B)
----LICENSE(1KB)
----composer.json(1KB)
----composer.lock(162KB)
----README.md(6KB)
----phpunit.xml(908B)
----.idea()
--------laravel-addressing.iml(8KB)
--------encodings.xml(159B)
--------php-test-framework.xml(345B)
--------vcs.xml(180B)
--------deployment.xml(135B)
--------copyright()
--------codeStyles()
--------blade.xml(166B)
--------codeStyleSettings.xml(431B)
--------inspectionProfiles()
--------composerJson.xml(271B)
--------modules.xml(288B)
----tests()
--------TestCase.php(910B)
--------Validator()
--------CountryEntityTest.php(4KB)
--------test-us-states.json(437B)
--------LaravelAddressingTest.php(2KB)
--------RoutesTest.php(1KB)
--------test-country-codes.json(2KB)
--------SubdivisionEntityTest.php(865B)
----config()
--------addressing.php(313B)