InfyOmLabs / laravel-payumoney

PayuMoney Gateway wrapper for Laravel.
https://infyom.com/open-source/laravel-payumoney/docs
12 stars 6 forks source link

Failed to open stream: Permission denied #5

Open AdityKhuman opened 4 months ago

AdityKhuman commented 4 months ago

E:\KSR>php artisan laravel-payumoney:publish payu.php config file published.

ErrorException

file_get_contents(E:\KSR\vendor\infyomlabs\laravel-payumoney\src\Commands./../../config/payu.php): Failed to open stream: Permission denied

at vendor\infyomlabs\laravel-payumoney\src\Commands\PublishAsset.php:29 25▕ 26▕ public function handle() 27▕ { 28▕ $this->info('payu.php config file published.'); ➜ 29▕ $config = file_get_contents(DIR.'./../../config/payu.php'); 30▕ $this->createFile(config_path('/'), 'payu.php', $config); 31▕ 32▕ \Artisan::call('vendor:publish --provider="InfyOm\Payu\PayuMoneyAppServiceProvider" --tag="views"'); 33▕

1 vendor\infyomlabs\laravel-payumoney\src\Commands\PublishAsset.php:29

2 vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36 InfyOm\Payu\Commands\PublishAsset::handle()

in laravel 11