create laravel library function in artisan code example
Example: publish config laravel
php artisan vendor:publish --provider="PWParsons\PayGate\PayGateServiceProvider" --tag="config"
php artisan vendor:publish --provider="PWParsons\PayGate\PayGateServiceProvider" --tag="config"