A dynamic dropdown test example using Laravel 5.x framework (by reference to this article (in french): )
git clone https://github.com/gildniy/laravel-dynamic-dropdown.git projectname
cd projectname
composer install
php artisan key:generate
Create a database and inform .env