Laravel Queue Jobs & Mailtrap in Docker (Urdu)
Muhammad Yasir Amin
0:00 / 0:00
Laravel Queue Jobs & Mailtrap in Docker (Urdu)
39 просмотров · 2 нед. назад
Muhammad Yasir Amin
29 подписчиков
39 просмотров · 2 нед. назад
Learn Laravel queue jobs with Docker and Mailtrap Email Sandbox in this step-by-step Urdu tutorial. Lesson 5 shows how an Artisan command dispatches an email job to a MySQL database queue, a separate Docker worker processes it, and a Mailable renders HTML and plain-text Blade email templates.
Complete written tutorial, routes and corrected MAIL_* environment configuration:
https://yasiramin.dev/portfolio/blogs...
Watch the complete Laravel with Docker course:
• Laravel with Docker | Practical Lessons
Topics covered:
Laravel database queues and the jobs table
The demo:queue-email Artisan command
SendDemoEmail, ShouldQueue and the dedicated emails queue
QueueDemoMail with HTML and plain-text Blade views
The /queue-demo/mail-preview route
Mailtrap Email Sandbox SMTP settings using MAIL_HOST, MAIL_PORT, MAIL_USERNAME and MAIL_PASSWORD
Docker Compose worker service and queue:work
Keeping queued jobs separate from actual email delivery
Retries, failed jobs and restarting a long-running worker
This lesson builds on the lesson-5 source snapshot. The written guide also includes the follow-up correction that reuses the project's existing MAIL_* keys, plus the full routes/web.php and config/mail.php examples. Use your own private Mailtrap Sandbox SMTP credentials.
Source repository:
https://gitlab.com/yasiramin380/larav...
Lesson 5 snapshot:
https://gitlab.com/yasiramin380/larav...
Mail environment correction:
https://gitlab.com/yasiramin380/larav...
Previous lesson — Scheduler & Cron Jobs:
• Laravel Scheduler & Cron Jobs in Docker (U...
Portfolio and practical guides:
https://yasiramin.dev
If this tutorial helps, please like, subscribe and share it with a developer friend. More practical Laravel and Docker lessons are on the way.
Narration: Urdu. Code and written guides: English.
#Laravel #Docker #Mailtrap #LaravelQueues #UrduTutorial