Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliseekn/countries-helper
Helper for countries laravel package
https://github.com/eliseekn/countries-helper
countries laravel-framework package
Last synced: 10 days ago
JSON representation
Helper for countries laravel package
- Host: GitHub
- URL: https://github.com/eliseekn/countries-helper
- Owner: eliseekn
- License: mit
- Created: 2021-10-14T17:07:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T17:14:55.000Z (over 3 years ago)
- Last Synced: 2024-12-15T23:24:24.880Z (about 1 month ago)
- Topics: countries, laravel-framework, package
- Language: PHP
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Countries helper
[![Latest Version on Packagist](https://img.shields.io/packagist/v/eliseekn/countries-helper.svg?style=flat-square)](https://packagist.org/packages/eliseekn/countries-helper)
[![Total Downloads](https://img.shields.io/packagist/dt/eliseekn/countries-helper.svg?style=flat-square)](https://packagist.org/packages/eliseekn/countries-helper)Helper for countries laravel package
## Installation
You can install the package via composer:
```bash
composer require eliseekn/countries-helper
```## Usage
```php
//In your controller
$countries = CountriesHelper::getAll();//In your blade file
Select country@foreach($countries as $country)
@if (!is_null($country))
@foreach($country as $key => $value){{ $value }}@endforeach
@endif
@endforeach```
### Testing
```bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [N'Guessan Kouadio Elisée](https://github.com/eliseekn)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).