Getting information about all the models in your Laravel app original
I'm proud to announce that our team has released a new small package: spatie/laravel-model-info. Let's take a look at what this package can do.
I'm proud to announce that our team has released a new small package: spatie/laravel-model-info. Let's take a look at what this package can do.
Let's take a look at the different ways to generate a random number in PHP.
Read more [php.watch]
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."
Pretty cool that you can achieve this by executing a query, and without application logic.
Read more [sqlfordevs.com]
Good tips by Jeffrey Way
Read more [laracasts.com]
– tighten.com - submitted by Jamison Valenta
Looking for a fun way to dive deeper into Laravel that's not just a to-do list tutorial? Our "Learning Laravel" series by Kristin Collins is exactly what you've been missing!
Read more [tighten.com]
One of our goals for this year is to bring the UI of Oh Dear to the next level. Behind the scenes, our team is working hard on a complete rewrite of our marketing website and app.
Read more [ohdear.app]
– sinnbeck.dev - submitted by René Sinnbeck
Build a file uploader that supports drag and drop and file selection, has a progressbar, filename preview and file removal.
Read more [sinnbeck.dev]
– doeken.org - submitted by Doeke Norg
It's time to replace your mocked event dispatchers with a real one.
Read more [doeken.org]
– tighten.com - submitted by Jamison Valenta
If you're running a Laravel application in the 5's, have a legacy application bootstrapped inside Laravel, don't have any tests, or are staring in silent terror at just how long ago your production server's PHP version hit its end-of-life, this post is for you!
Read more [tighten.com]
– aaronfrancis.com - submitted by Aaron Francis
Spoiler: it is optimized to be fast, and you should use it.
Read more [aaronfrancis.com]
– mateusguimaraes.com - submitted by Mateus Guimarães
Learn how I was able to easily scale an application to handle hundreds of millions of jobs using nothing but Laravel, Redis and MySQL
Read more [mateusguimaraes.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
A blog post about an experiment that converts PHP to Rust and is capable of generating native binaries.
Read more [ryangjchandler.co.uk]
– stitcher.io - submitted by Brent
You might be afraid of this change, but most likely this won't affect you.
Read more [stitcher.io]
– aschmelyun.com - submitted by Andrew Schmelyun
If you've been working with PHP regularly, chances are you've run across an Interface, Trait, or Abstract Class. At first glance, they might appear to have a few similarities between them, and it can be hard to make out their differences and use cases.
Read more [aschmelyun.com]
A very nice technique to decrease concurrency and prevent deadlocks.
Read more [planetscale.com]
While working on the upcoming Oh Dear redesign, I noticed that list that displays all sites of a team was very slow.
To display that list, a lot of queries were used. With a couple of minor adjustments, I could reduce the number of queries needed to just a single one, solving the performance problem.
In this small blog post, I'd like to share one of the techniques I used.
Povilas Korop of Laravel Daily made a cool video on the internals of our spatie/laravel-login-link package.
The best dependency manager just got a little bit better.
Read more [php.watch]
Here's an update on what the PHP core contributors have been doing these past few weeks.
Read more [thephp.foundation]