Hey hey, From my LaravelDaily.comCaching in Laravel with Redis: Simple Example
laraveldaily.com
Caching with Redis is one of the common requirements in Laravel job descriptions. But it's not complicated it all, this tutorial will show you the fundamentals. Here's a simple tutorial on how to use Redis in Laravel for caching Eloquent queries. From my Youtube ChannelUpcoming Laravel 11: SQLite as Default Database
www.youtube.com
Another interesting change coming to the future Laravel 11 version. NEW Filament 3.2: Export, Defer Filters, Revealable Input, Toggle Buttons
www.youtube.com
In this video, I will showcase 4 new features of Filament 3.2. Get/Compare PHP Versions: Two Useful Functions
www.youtube.com
Did you know about such functionality? Let's take a look at the examples in the core Laravel code. PEST: Auto-Detect env(), dd() and Other "Leftovers"
www.youtube.com
A cool function of Pest that tracks if someone didn't leave the `dd()` in the code by accident. PHP: Dynamic Names of Properties/Methods
www.youtube.com
Did you know about such functionality? Let's take a look at the examples in the core Laravel code. Developers Often Forget to "Package" Their Code
www.youtube.com
Delivering the working code solution is not the end goal for us as developers. Let me explain. From Laravel CommunityGenerate PDFs in Laravel: A Deep Dive into Laravel PDF Export with Spatie/Browsershot
www.youtube.com
Dive into the world of Laravel PDF generation with Spatie/Browsershot! This tutorial guides you through effortlessly creating and exporting PDFs for your web application. Laravel Gems - Recycle Models in Factories
www.youtube.com
Dive into "Laravel Gems," a series dedicated to unearthing hidden treasures of Laravel functionalities. Updates On The Prune Command, Job Chains/Batches & The Number Helper
www.youtube.com
"What's new in Laravel" is back! We will share new features of the Laravel framework every week again Setting up Laravel Pulse for multiple Authenticatable models (user types) -
www.martyfriedel.com
Here’s the issue: out of the box, Pulse will log the user’s ID with the entry – let’s say ID 10. When you have multiple models, who is ID 10? Is it the User? The Teacher? The Student?
Hey! You like my curated weekly Laravel links?
Check out my Laravel courses! Laravel Vite Deploy Assets to Global CDN
priyashpatil.com
Vite is a modern front-end build tool designed for lightning-fast development and efficient code bundling for production. In the context of Laravel applications, Vite plays a crucial role in bundling CSS and JavaScript files into production-ready assets. Seeking Advice: Starting a new job on a large PHP/Laravel project - Where to Begin?
www.reddit.com
I've landed a new job as a backend developer where I will be working on a large scale Laravel project and I'm looking for some advice on the best approach to understand the architecture, domain, and everything else that comes with it. Reducing our AWS bill by $100,000
usefathom.com
By popular demand, I'm back with another technical blog post. Who am I kidding? I love writing these technical blog posts, and in this post, I will go through everything we did to cut $100,000/year off of our AWS bill. Write Tabular Assertions with Pest and PHPUnit
laravel-news.com
Spatie recently released a tabular-assertions package you can use to write tabular assertions with Pest or PHPUnit. Inspired by Jest's test.each table syntax (i.e., "table as a data provider"), "Tabular assertions allow you to describe data in a Markdown table-like format and compare it to the actual data": Laravel 10.42 - Global Defaults for the HTTP Client, a Max Validation Rule for Passwords, and More
laravel-news.com
This week, the Laravel team released v10.42 with global default options for the HTTP client, a max validation rule for the password rule object, a string unwrap helper, and more. Route binding with two different models
masteringlaravel.io
Because it's a ULID and not a numeric integer, there would be no overlap in IDs between the two models, so you could query the Job model first, and if it's not found, query the Referrer model. Stop using $request->get()
masteringlaravel.io
We often have more than one way to do something in Laravel. Sometimes, it's just a matter of preference, but other times there are fundamental differences between the approaches. Laravel Flexible Layouts : Yields, Includes, Slots
dcblog.dev
In Laravel, the @yield directive is used in blade templates to define a section that can have code injected or "yielded" by child views. In a blade file typically used for layouts (can be any *.blade.php file), you can use the @yield directive to define a section where content can be injected. Laravel API Resource Nested Route Placeholder
dcblog.dev
When using an ApiResource that has more than one placeholder it may seem tricky to figure out how to name the placeholder used. How would you do it? That's it for this week, see you in the next newsletter issue! |