Download the PHP package unicodeveloper/laravel-ngsc without Composer
On this page you can find all versions of the php package unicodeveloper/laravel-ngsc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download unicodeveloper/laravel-ngsc
More information about unicodeveloper/laravel-ngsc
Files in unicodeveloper/laravel-ngsc
Package laravel-ngsc
Short Description A Laravel 5 Package for providing a fluent API for states, lgas and cities in Nigeria
License MIT
Informations about the package laravel-ngsc
laravel-ngsc
A Laravel 5 Package for providing a fluent API for states, lgas and cities in Nigeria
Installation
PHP 5.4+ or HHVM 3.3+, and Composer are required.
To get the latest version of Laravel Ngsc, simply add the following line to the require block of your composer.json
file.
You'll then need to run composer install
or composer update
to download it and have the autoloader updated.
Once Laravel Ngsc is installed, you need to register the service provider. Open up config/app.php
and add the following to the providers
key.
Unicodeveloper\Ngsc\NgscServiceProvider::class
Also, register the Facade like so:
Configuration
To get started, you'll need to publish all vendor assets:
Usage
You can use it in your controller by using Dependency Injection like so:
You can also simply use the awesome Facades like so:
Appreciation
Huge thanks go to the Devcenter.co crew for providing a fluent and awesome API
Contributing
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.
How can I thank you?
Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!
Don't forget to follow me on twitter!
Thanks! Prosper Otemuyiwa.
License
The MIT License (MIT). Please see License File for more information.