create laravel package code example
Example 1: publish config laravel
php artisan vendor:publish --provider="PWParsons\PayGate\PayGateServiceProvider" --tag="config"
Example 2: Laravel package development
$ composer require jeroen-g/laravel-packager --dev
Example 3: Laravel package development
JeroenG\Packager\PackagerServiceProvider::class,
Example 4: Laravel package development
$ php artisan vendor:publish --provider="JeroenG\Packager\PackagerServiceProvider"