Author: Admin

  • Queues

    Queue Configuration Laravel supports multiple queue drivers: The default queue connection is set in .env via QUEUE_CONNECTION. For example: The database driver uses a jobs table to store queued jobs and a failed_jobs table for failed ones. Dispatching Jobs to the Queue In your JobController, change: to: This queues the email instead of sending it immediately. Running the Queue Worker To process queued…

    Read More

    //

  • E-Mails

    With Laravel its pretty easy to send mails. So let’s go over the different steps. Generating a Mailable Create a mailable class with Artisan: This creates a class in app/Mail/JobPosted.php where you can define: Creating the Email View Create a Blade view in resources/views/mail/job-posted.blade.php with your email content: Previewing the Email Add a temporary route to return the mailable…

    Read More

    //

  • Install Breeze

    With Laravel 12 Breeze isn’t included as a starter kit by default anymore so if you want to use it, here’s how: 1. Setup a new Laravel Project These starter kits are intended to be used at the start of a new project. So run this command with your chosen name at the end and…

    Read More

    //