This is a simple yet somewhat broad explanation about Laravel. It covers things like: Verification, Authentication, CRUD and more.
-
Asset Building & Vite
Here’s a short explanation about asset bundling and Vite in Laravel, which optimize and manage your application’s frontend assets like CSS, JavaScript, and images for production. What is Asset Bundling? Asset bundling combines and optimizes your assets to reduce load times and improve performance. This includes minification, compression, and efficient loading. Using Vite in Laravel Laravel integrates with…
//
-
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…
//
-
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…
//
