Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

use php artisan command through controller

<?php
Route::get('/foo', function () {
    Artisan::queue('email:send', [
        'user' => 1, '--queue' => 'default'
    ]);
    //
});
Source by webdevetc.com #
 
PREVIOUS NEXT
Tagged: #php #artisan #command #controller
ADD COMMENT
Topic
Name
7+5 =