Seed and use a list of languages in Laravel.
Require this package, with Composer, in the root directory of your project.
$ composer require faustbrian/laravel-languages
To get started, you'll need to publish the vendor assets and migrate:
php artisan vendor:publish --provider="BrianFaust\Languages\LanguagesServiceProvider" && php artisan migrate
Now you can seed the languages into the database like this.
php artisan languages:seed
If you discover a security vulnerability within this package, please send an e-mail to firstname.lastname@example.org. All security vulnerabilities will be promptly addressed.