Hello community! In my application i need to run a console command from the package within my controller.
The command is
php artisan aimeos:jobs product/import/csv myshop
,
from Aimeos ecommerce package.
This command works perfect if i run it in console, but if i try Artisan::call('aimeos:jobs', ['jobs' => 'product/import/csv', 'site' => 'myshop']);
or
Artisan::call('aimeos:jobs product/import/csv myshop');
in my controller nothing happens.
But If i try to run some standard Laravel commands, like
Artisan::call('make:controller TestController');
it works.
Details: Laravel 5.8., PHP 7.3, Centos 7
Could someone please advise me on this? Kind regards.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community