kodekeep/sushi-countries

This package is abandoned and no longer maintained. No replacement package was suggested.

:package_description

1.2.0 2020-11-09 02:16 UTC

This package is auto-updated.

Last update: 2022-01-28 07:43:26 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This package was created by, and is maintained by Brian Faust, and provides models to work with countries for calebporzio/sushi

Installation

composer require kodekeep/sushi-countries

Usage

Country

use KodeKeep\SushiCountries\Country;

Country::where('code', 'FI')->first();
Country::where('code3', 'FIN')->first();
Country::where('name', 'Finland')->first();
Country::where('number', 246)->first();

Canadian Province

use KodeKeep\SushiCountries\CanadianProvince;

CanadianProvince::where('name', 'Alberta')->first();
CanadianProvince::where('abbreviation', 'AB')->first();

United State

use KodeKeep\SushiCountries\UnitedState;

UnitedState::where('name', 'California')->first();
UnitedState::where('abbreviation', 'CA')->first();

Currency

use KodeKeep\SushiCountries\Currency;

Currency::where('name', 'Euro')->first();
Currency::where('abbreviation', 'EUR')->first();
Currency::where('symbol', '€')->first();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover a security vulnerability within this package, please send an e-mail to hello@kodekeep.com. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

Support Us

We invest a lot of resources into creating and maintaining our packages. You can support us and the development through GitHub Sponsors.

License

Sushi Countries is an open-sourced software licensed under the MPL-2.0.