Answers for "use php artisan command through controller"

PHP
0

use php artisan command through controller

<?php
Route::get('/foo', function () {
    Artisan::queue('email:send', [
        'user' => 1, '--queue' => 'default'
    ]);
    //
});
Posted by: Guest on October-12-2020

Code answers related to "use php artisan command through controller"

Browse Popular Code Answers by Language