faustbrian/laravel-languages

This package is abandoned and no longer maintained. The author suggests using the artisanry/languages package instead.

Seed and use a list of languages in Laravel.

2.2.0 2019-08-28 13:03 UTC

README

Build Status PHP from Packagist Latest Version License

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require artisanry/languages

To get started, you'll need to publish the vendor assets and migrate:

php artisan vendor:publish --provider="Artisanry\Languages\LanguagesServiceProvider" && php artisan migrate

Now you can seed the languages into the database like this.

php artisan languages:seed

Testing

$ phpunit

Security

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

Credits

This project exists thanks to all the people who contribute.

License

Mozilla Public License Version 2.0 (MPL-2.0).