Rust: A Language for the Next 40 Years
– Edit
Learn what makes the programming language Rust a unique technology, such as the memory safety guarantees that enable more people to write performant systems-level code.
– Edit
Learn what makes the programming language Rust a unique technology, such as the memory safety guarantees that enable more people to write performant systems-level code.
– localheinz.com – Edit
A good intro on how to customize PHPUnit
Read more [localheinz.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.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
– tighten.com - submitted by Jamison Valenta – Edit
Did you know it's possible to use Laravel's validation tools even when you're validating a part of your request that wasn't provided by the user? In our latest post, Andrew Morgan shares four approaches to validating the "other" bits of your requests.
Read more [tighten.com]
– stefrouschop.nl - submitted by Stef Rouschop – Edit
One caveat in Livewire (version 1 and 2) is that only public properties remain state between Livewire interactions. This shouldn’t be a problem, at least not if you’re aware of how a potential hacker would abuse this.
Read more [stefrouschop.nl]
by Freek Van der Herten – 12 minute read – Edit
In Oh Dear, we recently added the ability to create fine-grained API tokens that are scoped by a model. Behind the scenes, it uses Laravel Sanctum to create and verify abilities.
In this blog post, I'd like to give you a peek behind the scenes and show how we set this up.
– mailcoach.app – Edit
One way to teach your audience the features you offer is by creating a drip campaign about all the features your platform offers. Better knowledge of all features hopefully leads to better conversion rates.
Read more [mailcoach.app]
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
A quick way of disabling Composer's default script process timeout of 300 seconds (5 minutes). Easy to overlook in the docs.
Read more [ryangjchandler.co.uk]
This makes not just testing the UI of an app easier, but also makes onboarding new developers to a project simpler.
Read more [stefanzweifel.dev]
– www.eloquentarchitecture.com - submitted by John Freeman – Edit
The LoB principle dictates that the behavior of a unit of code should be as obvious as possible by looking only at that unit of code. But I think something is missing from this discussion.
Read more [www.eloquentarchitecture.com]
– medium.com - submitted by Mazen Touati – Edit
We will crack the controversy of the repository pattern in Laravel. The good and the bad, and what alternatives we can use to build a maintainable codebase.
Read more [medium.com]
– baspa.dev - submitted by Bas van Dinther – Edit
Learn about imposter syndrome, its causes and how to combat it in the field of programming.
Read more [baspa.dev]
by Freek Van der Herten – 5 minute read – Edit
I'm happy to announce that we've released another new package: spatie/laravel-help-space. This one makes it easy to populate a custom sidebar in HelpSpace with the data from your Laravel app. In this blog post, I'd like to tell you all about it.
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
A new series on writing a static analyser for PHP in Rust.
Read more [ryangjchandler.co.uk]
– tighten.com - submitted by Jamison Valenta – Edit
Tighten programmer Alison shares an intro to terminable middleware in Laravel. This type of middleware does work after the HTTP response is sent to the browser. Learn when to use it, and a some gotchas.
Read more [tighten.com]
– ohdear.app – Edit
I'm very proud that we have added a new check to Oh Dear.
Read more [ohdear.app]
– youtu.be - submitted by Bert De Swaef – Edit
Bert shows us a hidden Laravel gem!
Read more [youtu.be]
– tighten.com - submitted by Jamison Valenta – Edit
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]
– brandur.org – Edit
Here's a strategy for soft deletes where you move data to another table instead of leaving it in-place.
Read more [brandur.org]
What I've come to realize, though, is that anyone can write code that seems complicated. The hard thing is solving complex problems with simple code.
Read more [www.joshwcomeau.com]
by Freek Van der Herten – 5 minute read – Edit
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.