Download the PHP package tightr/laravel-country-flags without Composer
On this page you can find all versions of the php package tightr/laravel-country-flags. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tightr/laravel-country-flags
More information about tightr/laravel-country-flags
Files in tightr/laravel-country-flags
Package laravel-country-flags
Short Description A Laravel 5.6 wrapper for the stidges/country-flags package
License MIT
Homepage https://github.com/tightr/laravel-country-flags
Informations about the package laravel-country-flags
Laravel Country Flags
A Laravel 5.6 wrapper for the stidges/country-flags package.
Installation
You can install the package via Composer:
The Laravel facade and service provider are registered through auto-discovery, so you can start using it out of the box!
Usage
This package publishes a Laravel facade for easier usage:
It also comes with a helper function that you can use!
Aliasing
If you would like to make country codes available under a custom aliases, you can update the configuration file. First you should publish it:
This will make the configuration file available under config/country-flags.php
. You can update the 'aliases'
section to add your custom aliases:
And it will be available for you to access:
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Stidges
- All Contributors
License
The MIT License (MIT). Please see License File for more information.