<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/laraveldaily/best-of/2024" -->

---
title: Best Laravel Daily posts of 2024 | daily.dev
description: The most upvoted Laravel Daily posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/laraveldaily/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/laraveldaily/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Laravel Daily posts of 2024 | daily.dev
og:description: The most upvoted Laravel Daily posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Laravel Daily — 2024

1. 1  
[](/posts/4-tips-for-dev-productivity-i-ve-tried-many-techniques--ybyxr5yl5 "4 Tips for Dev Productivity (I've tried many techniques...)")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
9m watch time • Dec 13, 2024  
### 4 Tips for Dev Productivity (I've tried many techniques...)  
Four productivity tips for developers are highlighted: mastering your tools, breaking down larger tasks into manageable chunks, using the Pomodoro Technique to structure work sessions, and turning off notifications to minimize distractions. Additionally, managing energy levels throughout the day is emphasized over just time management.

+3  
![Post Cover image](https://i.ytimg.com/vi/ERhWbxNiCT0/sddefault.jpg)  
58
2. 2  
[](/posts/laravel-mini-crm-for-beginners-in-1-hour-step-by-step-b4pr3drns "Laravel Mini CRM for Beginners in 1 Hour: Step-by-Step")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
1h 12m watch time • Sep 18, 2024  
### Laravel Mini CRM for Beginners in 1 Hour: Step-by-Step  
The post introduces a step-by-step tutorial for building a mini CRM using Laravel in one hour, focusing on beginner-friendly concepts. It covers creating CRUD operations for users, clients, projects, and tasks, including role-based access control and soft deletes. The author shares the source code and describes the process of setting up Laravel Breeze for authentication and using the Spatie Laravel Permission package for roles and permissions.

+3  
![Post Cover image](https://i.ytimg.com/vi/kLY8qvSuXEM/sddefault.jpg)  
44  
1
3. 3  
[](/posts/12-laravel-php-tips-in-8-minutes-august-2024-vlv7yd2y4 "12 Laravel/PHP Tips in 8 Minutes: August 2024")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
8m watch time • Sep 04, 2024  
### 12 Laravel/PHP Tips in 8 Minutes: August 2024  
Discover 12 handy Laravel and PHP tips gathered from Twitter for August 2024\. These include SQL best practices, filtering emails in Laravel validations, specific uses of the explode function in PHP, and optimizing Laravel performance. Also included are general advice on handling tutorials, particularly those generated by AI, and notable announcements from the Laravel community. Perfect for both developers looking to refine their techniques and those eager to stay updated with the latest in the Laravel ecosystem.

+4  
![Post Cover image](https://i.ytimg.com/vi/1PwVZC0DLMs/sddefault.jpg)  
42  
2
4. 4  
[](/posts/laravel-roles-permissions-complex-multi-clinic-project-zqbzdqedd "Laravel Roles/Permissions: Complex Multi-Clinic Project")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
13m watch time • Oct 08, 2024  
### Laravel Roles/Permissions: Complex Multi-Clinic Project  
Managing roles and permissions in a complex multi-clinic project using Laravel involves using Spatie's Laravel Permission package, global scopes, and enums to manage roles within different teams. The project uses a structured, policy-driven approach to permissions, showcasing features like CRUD operations managed by different roles such as master admin, clinic owner, and staff/doctor. Automated testing is emphasized to ensure security, given the high cost of bugs related to unauthorized access.

+3  
![Post Cover image](https://i.ytimg.com/vi/Fe0VSwpZpaU/sddefault.jpg)  
30
5. 5  
[](/posts/laravel-sign-in-with-qr-code-using-livewire-1rnampftv "Laravel Sign In with QR Code using Livewire")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
8m watch time • Nov 27, 2024  
### Laravel Sign In with QR Code using Livewire  
A comprehensive guide on implementing a QR code login system using Laravel and Livewire. The tutorial explains the typical use case for QR code logins, which involves logging in on a web application by scanning a QR code with a mobile device. The post delves into the database schema, models, and Livewire components used to create this feature, detailing each step from generating the QR code to verifying the login request and managing user sessions securely.

+2  
![Post Cover image](https://i.ytimg.com/vi/Or3nY7gxlP4/sddefault.jpg)  
22  
1
6. 6  
[](/posts/laravel-scheduler-5-tricks-you-may-not-know-mc02xsydu "Laravel Scheduler: 5 "Tricks" You May Not Know")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
3m watch time • Sep 02, 2024  
### Laravel Scheduler: 5 "Tricks" You May Not Know  
Learn lesser-known tricks for using the Laravel scheduler, including scheduling shell commands, using schedule constants, and handling tasks during maintenance mode. Discover how to set sub-minute tasks and run the scheduler locally without a Cron job.

+3  
![Post Cover image](https://i.ytimg.com/vi/KBAIWP8wfyQ/sddefault.jpg)  
22  
1
7. 7  
[](/posts/laravel-12-new-starter-kits-laravel-gqqdrb7zp "Laravel 12: NEW Starter Kits #laravel")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
1m watch time • Dec 08, 2024  
### Laravel 12: NEW Starter Kits #laravel  
Laravel 12 will introduce new starter kits that will be cloned instead of installed. These kits will be tailored based on the type of project or purpose, such as AI or SaaS. Tony Lee, a prominent member of the Laravel community, will join the core team to work on these updates. Breeze and Jetstream, the current starter kits, will be retired in 2025.

+4  
![Post Cover image](https://i.ytimg.com/vi/Ap5tkKZV-7A/sddefault.jpg)  
21  
1
8. 8  
[](/posts/8-career-tips-from-my-25-years-as-developer-spegtdxza "8 Career Tips from My 25 Years as Developer")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
12m watch time • Nov 15, 2024  
### 8 Career Tips from My 25 Years as Developer  
Twenty-five years of experience in development have resulted in valuable advice for career growth and productivity. Key tips discussed include: showcasing your skills to expand job opportunities, learning from developers using different languages and frameworks, avoiding quick but inaccurate project estimates, accepting and managing heavy workloads without complaints, enhancing negotiation skills with bosses and teammates, resolving conflicts within your team effectively, continuously improving tool proficiency, and staying curious about new technologies and trends.

+3  
![Post Cover image](https://i.ytimg.com/vi/qGCYYkpENwQ/sddefault.jpg)  
19  
2
9. 9  
[](/posts/new-in-laravel-11-22-eloquent-inverse-relations-to-avoid-n-1-query-ffgone3ai "NEW in Laravel 11.22: Eloquent Inverse Relations to Avoid N+1 Query")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
4m watch time • Sep 05, 2024  
### NEW in Laravel 11.22: Eloquent Inverse Relations to Avoid N+1 Query  
Laravel 11.22 introduces a new feature, Eloquent inverse relations, contributed by Samuel Levy, to address the N+1 query problem. This feature allows for more efficient querying by using an 'inverse' relationship, reducing the number of database queries needed when accessing related models. It simplifies the process of managing relationships in Laravel and helps prevent circular references. Significant discussions and debates went into its development, which included contributions from Taylor Otwell at Laracon US.

+4  
![Post Cover image](https://i.ytimg.com/vi/K0LrHm6leW4/sddefault.jpg)  
19
10. 10  
[](/posts/services-vs-actions-in-laravel-laravel-bbroh67bg "Services VS Actions in Laravel #laravel")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
1m watch time • Dec 09, 2024  
### Services VS Actions in Laravel #laravel  
Service and action classes in Laravel provide different ways to structure your code. Action classes typically have one public method to perform an action, while service classes have multiple methods related to the same object or topic. Both are just PHP classes and don't extend from any global base unless you manually create one. The choice between using a service or action class is a matter of personal preference and team conventions.

+4  
![Post Cover image](https://i.ytimg.com/vi/Mq7n5q_lcdc/sddefault.jpg)  
18  
1
11. 11  
[](/posts/new-defer-in-laravel-11-23-no-queue-needed-anymore--zuodr13rh "NEW defer() in Laravel 11.23: No Queue Needed Anymore?")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
4m watch time • Sep 16, 2024  
### NEW defer() in Laravel 11.23: No Queue Needed Anymore?  
Laravel 11.23 introduced the defer() function, which allows executing tasks in the background without configuring queue drivers. This function postpones execution until after the response is sent to the user's browser, providing an efficient way to handle background tasks. The feature is in beta and serves as an updated version to the existing terminable middleware, but with a broader range of applications.

+3  
![Post Cover image](https://i.ytimg.com/vi/4yTeZr9NUkE/sddefault.jpg)  
18  
2
12. 12  
[](/posts/junior-code-review-cache-n-1-queries-and-messy-code-tq9xl0fol "Junior Code Review: Cache, N+1 Queries and "Messy" Code")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
14m watch time • Nov 12, 2024  
### Junior Code Review: Cache, N+1 Queries and "Messy" Code  
The post reviews a junior developer's code focusing on three main issues: installation process, caching, and the N+1 query problem in Laravel. Key points include the importance of proper setup instructions, ensuring cache consistency, and optimizing database queries to prevent performance issues. The review stresses clean, professional code presentation, especially for job application purposes.

+3  
![Post Cover image](https://i.ytimg.com/vi/vGMpfCtXT7E/sddefault.jpg)  
14  
1
13. 13  
[](/posts/4-tips-to-improve-leah-s-laravel-code-25ldshfgl "4 Tips to Improve Leah's Laravel Code")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
8m watch time • Oct 04, 2024  
### 4 Tips to Improve Leah's Laravel Code  
The post offers four tips for improving Leah's Laravel code. Key advice includes placing methods within models or service classes rather than controllers, using Laravel's collections over arrays for more elegant code, optimizing database queries to prevent performance problems, and understanding the difference between 'migrate:refresh' and 'migrate:fresh' commands to manage database migrations efficiently. The overall message encourages beginners to share their code publicly and learn from provided feedback.

+4  
![Post Cover image](https://i.ytimg.com/vi/P20f8insTrk/sddefault.jpg)  
14
14. 14  
[](/posts/laravel-blade-layout-components-in-subfolders-breeze-example-tsyoaobob "Laravel Blade Layout Components in Subfolders: Breeze Example")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
3m watch time • Sep 09, 2024  
### Laravel Blade Layout Components in Subfolders: Breeze Example  
The post discusses a preferred method of organizing layout components in Laravel's Blade templating engine, particularly within the context of Laravel Breeze. The author suggests moving layout components into a subfolder within the components directory and demonstrates a live refactor. They highlight that this approach promotes better organization and explains how to update references in views accordingly. The post encourages readers to share their thoughts on Blade component structure.

+3  
![Post Cover image](https://i.ytimg.com/vi/Cw9OM5FrYn8/sddefault.jpg)  
14
15. 15  
[](/posts/wave-v3-laravel-saas-starter-kit-with-tall-stack-krk4y60xo "Wave v3: Laravel SaaS Starter Kit with TALL Stack")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
15m watch time • Dec 05, 2024  
### Wave v3: Laravel SaaS Starter Kit with TALL Stack  
Wave v3 is a revamped Laravel SaaS starter kit that leverages the TALL stack (Tailwind CSS, Alpine.js, Laravel, and Livewire). It is designed to help developers quickly launch SaaS products and is offered for free. The documentation provides detailed guidance on using its features, such as authentication, billing, subscription plans, and more. The post highlights both the strengths and weaknesses of Wave v3, comparing it to other available Laravel starter kits, and discusses the state of the market for these tools.

+3  
![Post Cover image](https://i.ytimg.com/vi/LLJ2u0yRqfw/sddefault.jpg)  
12  
2
16. 16  
[](/posts/laravel-login-with-different-roles-no-password-ehuw4hm3k "Laravel Login with Different Roles: No Password")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
2m watch time • Oct 28, 2024  
### Laravel Login with Different Roles: No Password  
A tutorial on using the spyy/laravel-login-link package to create login links for different user roles in a Laravel application without requiring a password. Best used in a local environment for testing different permissions and roles effortlessly.

+4  
![Post Cover image](https://i.ytimg.com/vi/IkberjbNgP4/sddefault.jpg)  
12
17. 17  
[](/posts/writing-pest-tests-for-laravel-crud-live-coding-s2ayonc2k "Writing Pest Tests for Laravel CRUD: Live-Coding")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
18m watch time • Oct 01, 2024  
### Writing Pest Tests for Laravel CRUD: Live-Coding  
This post provides a detailed, step-by-step guide on writing automated tests for a Laravel CRUD project using Pest. The author demonstrates live coding to create tests for user CRUD operations, explains the importance of testing strategies like arranging, acting, and asserting, and discusses handling database configurations. It also covers creating custom tests, handling permissions, and the significance of both happy and unhappy paths in testing. The post concludes with advice on automating tests using GitHub Actions and further learning resources.

+4  
![Post Cover image](https://i.ytimg.com/vi/HDHaXyPs8MU/sddefault.jpg)  
12
18. 18  
[](/posts/new-in-laravel-11-23-when-helper-pfh7egkn1 "New in Laravel 11.23: `when()` Helper")  
Video  
[![laraveldaily's profile](https://media.daily.dev/image/upload/s--vzdgNGfl--/f_auto/v1725044498/logos/laraveldaily)](/sources/[source]/best-of/[year])  
3m watch time • Sep 23, 2024  
### New in Laravel 11.23: \`when()\` Helper  
The \`when()\` helper is a new feature in Laravel 11.23, introduced by Dan Matthews. It serves as a Blade directive to simplify conditional statements, making it particularly useful for Livewire components but versatile enough for other conditions. The post offers a demonstration of the \`when()\` helper in action, showing how it can streamline server creation tasks and update progress in a Livewire project.

+3  
![Post Cover image](https://i.ytimg.com/vi/3vHiTvEpklM/sddefault.jpg)  
12

[See all Laravel Daily archives](/sources/laraveldaily/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/laraveldaily/best-of/2024#page","url":"https://daily.dev/sources/laraveldaily/best-of/2024","name":"Best Laravel Daily Posts of 2024","description":"The most upvoted Laravel Daily posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/laraveldaily/best-of/2024#items","numberOfItems":18,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/4-tips-for-dev-productivity-i-ve-tried-many-techniques--ybyxr5yl5","name":"4 Tips for Dev Productivity (I've tried many techniques...)"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/laravel-mini-crm-for-beginners-in-1-hour-step-by-step-b4pr3drns","name":"Laravel Mini CRM for Beginners in 1 Hour: Step-by-Step"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/12-laravel-php-tips-in-8-minutes-august-2024-vlv7yd2y4","name":"12 Laravel/PHP Tips in 8 Minutes: August 2024"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/laravel-roles-permissions-complex-multi-clinic-project-zqbzdqedd","name":"Laravel Roles/Permissions: Complex Multi-Clinic Project"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/laravel-sign-in-with-qr-code-using-livewire-1rnampftv","name":"Laravel Sign In with QR Code using Livewire"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/laravel-scheduler-5-tricks-you-may-not-know-mc02xsydu","name":"Laravel Scheduler: 5 \"Tricks\" You May Not Know"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/laravel-12-new-starter-kits-laravel-gqqdrb7zp","name":"Laravel 12: NEW Starter Kits #laravel"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/8-career-tips-from-my-25-years-as-developer-spegtdxza","name":"8 Career Tips from My 25 Years as Developer"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/new-in-laravel-11-22-eloquent-inverse-relations-to-avoid-n-1-query-ffgone3ai","name":"NEW in Laravel 11.22: Eloquent Inverse Relations to Avoid N+1 Query"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/services-vs-actions-in-laravel-laravel-bbroh67bg","name":"Services VS Actions in Laravel #laravel"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/new-defer-in-laravel-11-23-no-queue-needed-anymore--zuodr13rh","name":"NEW defer() in Laravel 11.23: No Queue Needed Anymore?"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/junior-code-review-cache-n-1-queries-and-messy-code-tq9xl0fol","name":"Junior Code Review: Cache, N+1 Queries and \"Messy\" Code"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/4-tips-to-improve-leah-s-laravel-code-25ldshfgl","name":"4 Tips to Improve Leah's Laravel Code"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/laravel-blade-layout-components-in-subfolders-breeze-example-tsyoaobob","name":"Laravel Blade Layout Components in Subfolders: Breeze Example"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/wave-v3-laravel-saas-starter-kit-with-tall-stack-krk4y60xo","name":"Wave v3: Laravel SaaS Starter Kit with TALL Stack"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/laravel-login-with-different-roles-no-password-ehuw4hm3k","name":"Laravel Login with Different Roles: No Password"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/writing-pest-tests-for-laravel-crud-live-coding-s2ayonc2k","name":"Writing Pest Tests for Laravel CRUD: Live-Coding"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/new-in-laravel-11-23-when-helper-pfh7egkn1","name":"New in Laravel 11.23: `when()` Helper"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Laravel Daily","item":"https://daily.dev/sources/laraveldaily"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/laraveldaily/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

