5 Simple Laravel Tips and Tricks
– ryangjchandler.co.uk - submitted by Ryan Chandler
Here are 5 simple Laravel tips and tricks that you can start applying and using in your Laravel applications right now!
Read more [ryangjchandler.co.uk]
Posts tagged with laravel
– ryangjchandler.co.uk - submitted by Ryan Chandler
Here are 5 simple Laravel tips and tricks that you can start applying and using in your Laravel applications right now!
Read more [ryangjchandler.co.uk]
Out of the box, Highlight.php doesn't support Laravel Blade templates. I'll show you how to register a custom syntax so that you can start highlighting your Blade content.
Read more [ryangjchandler.co.uk]
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."
I'm proud to announce the immediate release of Ray, a desktop app that vastly improves your debugging experience. Ray is a dedicated window to send dumped values to. It has a lot of features that help you find and fix bugs faster.

Ray is available for macOS, Windows and Linux.
In this blog post, I'd like to share why and how we've built Ray. If you just want to know what Ray is, head to the Ray homepage.
These past few months, my team and I have worked on something that we think will be very usefull for PHP and Laravel devs.
At 14:30 CEST you can see me release it live in this stream on YouTube.
I've already shown our project to a couple of friends. This is what they said:
This is a really innovative and exciting project in a space that doesn't have many options.
— Jess Archer (@jessarchercodes) January 7, 2021
And with very promising Linux support in the pipeline too! 😍
We're definitely talking about a daily developer experience improvement! https://t.co/tDHgsn7NiG
For amateur developers only! https://t.co/srNgSM21ym
— Michael Dyrynda (@michaeldyrynda) January 6, 2021
Get ready for something awesome! https://t.co/1nr5VbO4nY
— James Brooks (@jbrooksuk) January 6, 2021
I already had the chance to take a look at it. It looks very promising. I think you will like it :) https://t.co/viITNC8QSt
— Stefan Bauer (@stefanbauerme) January 6, 2021
✨Laravel Package Tip: Hide your install commands from `php artisan` after installed to keep things tidy. pic.twitter.com/o4PK8xXkIk
— Brian Dillingham (@im_brian_d) January 2, 2021
In this blogpost we'll take a quick look at how Blackfire is set-up and how Lambda layers works. In the second part of this post we'll add the two together to get production profiling data from Lambda into Blackfire.
Read more [flareapp.io]
Nice work by Tom Witkowski.
Read more [gummibeer.dev]
Yesterday, GitHub launched discussions as a public beta. We've been using the feature for a couple months. In this blogpost, I'd like to share how we will use discussions for our repos.
Sail is a new option for running Laravel locally via Docker. Matt Stauffer wrote a good post on how to let it play nicely with Takeout.
Read more [mattstauffer.com]
Earlier this year, Travis CI announced a new pricing model that effectively ends the generous open-source offering they had for many years. It seems that, even though there were some plans to provide free resources for OSS projects in the future, all activity for OSS projects has stopped.
At our company, we create a lot of open-source projects and packages. Beginning 2020, we already moved most of our stuff to GitHub actions.
Sure, you can read the GitHub actions docs to start learning the possibilities, but in my experience, it might be better to see some examples of practical uses cases. Here are some interesting links that might help you get started with GitHub actions.
This is a great newsletter run by Liam Hammett. Here's the latest edition, so you know what you're getting into.
Read more [livewire.run]
– protone.media - submitted by Pascal Baljet
Introducing a new Laravel package that allows you to re-use scopes as a boolean attribute on Eloquent models.
Read more [protone.media]
– www.csrhymes.com - submitted by Chris Rhymes
Splitting up a large Laravel Livewire component into more manageable and maintainable chunks
Read more [www.csrhymes.com]
– naxon.dev - submitted by Daniel Naxon
I needed to display only the first picture from my Product's model media collection and found my app running five queries and hydrating 16 models with only four products to display 😱 . Here's how I ended with only two queries and eight models.
Read more [naxon.dev]
I'm proud to announce that Media Library Pro is now available. Media Library Pro is an add-on package for our free Media Library base package. It contains a set of Blade, Vue and React components that make it easy to upload files to media library and to manage files inside of a media library collection.
In this blog post, I'd like to introduce Media Library Pro to you.
We have released a new package, called spatie/laravel-settings, that allows you to strongly type settings in a Laravel app. In this blog post, I'd like to introduce the package to you.
– naxon.dev - submitted by Daniel Naxon
Ever needed to apply filters on a query conditionally, only when the user actually applies them? Laravel query builder's method when got you covered.
Read more [naxon.dev]
At Spatie, we want to stimulate contributing to our open source stuff. That's why we said that we'd give away some of our paid products for free to authors of the best PRs we got in October. In a way, it's our own small version of Hacktoberfest.
In this blog post, I'd like to announce the winners.
When handling uploads, a traditional input type of file has some downsides. In this streaming session I did yesterday, I explain those problems and share how they can be fixed using the upcoming Media Library Pro.