• Developer New

    Friday, March 24, 2017

    how to use Queues in laravel

    Queue::push('SendMail', ['message' => $message]);
    Queue::push('SendEmail@send', ['message' => $message]);
    Queue::push(function($job) use $id {});
    php artisan queue:listen
    php artisan queue:listen connection
    php artisan queue:listen --timeout=60
    php artisan queue:work

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel