-
Notifications
You must be signed in to change notification settings - Fork 49
Jobs Queue
JP Barbosa edited this page Mar 11, 2016
·
4 revisions
nano app/Mailers/ArticleMailer.php
...
Mail::queue('emails.article', ['article' => $article], function ($message) use ($email) {
...
brew install redis
composer require predis/predis
nano .env
...
QUEUE_DRIVER=redis
php artisan queue:table
php artisan queue:failed-table
php artisan migrate
php artisan serve
redis-server
php artisan queue:listen
open http://localhost:8000/articles/1/recommendations/create
tail storage/logs/laravel.log
echo 'dump.rdb' >> .gitignore
git add .
git commit -m "Use queue with Redis to send e-mails"
Next step: Captcha
- Setup
- Basic CRUD
- Validation
- Views
- Association
- Association Controller
- Association Views
- Basic Template
- Bootstrap
- Bootstrap CRUD
- Alerts
- Welcome Page
- Ajax CRUD
- Send Email
- Send Email Views
- Jobs Queue
- Captcha
- Async External Content
- Cached External Content
- Tests Setup
- Functional Tests
- Acceptance Tests
- Continuous Integration
- Deploy with Heroku
- Deploy with Forge
- Update README