Laravel Package : Create .env.example with Artisan Installation composer require --dev kuvvu/envexample Configuration Publish config file: php artisan vendor:publish --tag=env-example Use php artisan make:env.example