In my Laravel application, I run
php artisan languages:export
I got a csv
file to export base on my languages
table.
BUT when I did in my code
$export = Artisan::call('languages:export');
I kept getting 0
as my result, and no file exported.
What did I do wrong ?
How would one go about and call artisan commands via code ?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2tq4xD4
via IFTTT
Aucun commentaire:
Enregistrer un commentaire