Write cleaner queries by using Laravel's whereRelation method
– youtu.be - submitted by Bert De Swaef
Bert shows us a hidden Laravel gem!
Read more [youtu.be]
Posts tagged with laravel
– youtu.be - submitted by Bert De Swaef
Bert shows us a hidden Laravel gem!
Read more [youtu.be]
– tighten.com - submitted by Jamison Valenta
Let's walk through how to use Carbon, CarbonPeriod, and Laravel Collections to create a custom calendar in your Laravel apps.
Read more [tighten.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
Here's a strategy for soft deletes where you move data to another table instead of leaving it in-place.
Read more [brandur.org]
We've released a new package called spatie/laravel-deleted-models. When deleting a model, this package will copy over its attributes to a table called deleted_models.
You can view this package as a "Recycle bin for models".
In this post, I'd like to tell you all about it.
Laravel 9 introduced a new way to create custom validation rules: invokable rules. It allows you to write a custom validation rule with only one method: __invoke.
– medium.com - submitted by CODE AXION
I have described where to put your scopes if your model is cluttered with 10 + scopes
Read more [medium.com]
– ashallendesign.co.uk - submitted by Ash Allen
Stay up-to-date with the latest trends in the Laravel and PHP communities by subscribing to these top YouTube channels. From beginner tutorials to advanced tips, these channels have something for every level of developer.
Read more [ashallendesign.co.uk]
Livewire is an amazing piece of technology. It is extensively used in two products I work on: Oh Dear and Mailcoach Cloud.
In this post, I'd like to show you a simple technique where Livewire can help to improve your initial page load time significantly.
– rias.be
A pretty cool use case for Laravel Envoy.
Read more [rias.be]
Now that PHP 8.2 has been released, it's time to upgrade the PHP of your Mac.
If you're using Brew - which you probably are - there are only a few steps involved.
– youtu.be - submitted by Bert De Swaef
In this video we're having a look at the Query Builder, and how to use it correctly.
We're optimizing our performance by a. lot of request time, models loaded and memory used.
Read more [youtu.be]
I'm proud to share that we've released two new packages: spatie/laravel-mailcoach-mailer (for Laravel apps) and spatie/mailcoach-mailer (for all other PHP based apps).
Using these two packages, you can send transactional mail through Mailcoach Cloud.
In this blog post, I'd like to share how you can use these packages and how they work under the hood.
– www.eloquentarchitecture.com - submitted by John Freeman
Each call to the builder will modify the underlying pending request. Every modification, another link in the chain, that will be sent, finally, with get().
Read more [www.eloquentarchitecture.com]
I use all of these on freek.dev as well :-)
Read more [dominik-geimer.com]
Tim MacDonald wrote a nice post on how to handle duplicate requests.
Read more [timacdonald.me]
🏎️💨 Here's another WWSD video to promote the 50% discount we'll have today on Laravel Comments and Media Library Ppro. All other spatie product are discounted 30%.
I love Twitter and I will be there until the ship goes down. Unfortunately, there are some strong signals that it may go away for a while or even permanently. I surely hope it doesn't come to that.
Through years of curating people to follow, I've built a very nice, positive group of people I admire and get inspired by. If Twitter goes down, I want to stay following these people (in a non-creepy way, rest assured). That's why I've already created a Mastadon account, and am looking around for the positive Laravel and PHP vibes there.
With Workerless you can configure the maximum concurrency across multiple queues and control the queue prioritization on AWS. This tool and beautiful website was created by Mohamed Said.
Read more [workerless.run]
This post is about Rails, but applies to Laravel as well
Read more [dev.37signals.com]
– bannister.me - submitted by James Bannister
A post outlining how you can use generators, and LazyCollections, to create better interfaces for paginating APIs.
Read more [bannister.me]