A newsletter to keep up-to-date with Livewire
β livewire.run
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]
β livewire.run
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]
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 publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
β 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.
Here's the recording of Laravel Worldwide Meetup #4. Ryan Chandler showed a cool GitHub Action workflow to test a Laravel app. Next, Liam Hammet demonstrated some unconvential things you can do with PHP autoloaders.
After sending a new edition of my newsletter, I usually tweet out a webview URL together with a URL where people can subscribe to the newsletter. A webview is a hard to guess URL that people who didn't subscribe can visit to read the content of the newsletter.
β jessarcher.com
Jess has created a cool laravel-castable-data-transfer-object package. In this blog post she explains in great details how it works.
Read more [jessarcher.com]
β ryangjchandler.co.uk - submitted by Ryan Chandler
Sometimes your controllers can get rather large, especially if you have lots of conditions and data formatting. Have you ever considered moving some of that complexity out into a dedicated response class?
Read more [ryangjchandler.co.uk]
I'm proud to announce the release of our newest package Laravel Backup Server. This paid package can backup several servers at once. When a backup contains files also present in a previous backup, deduplication using hard links will be performed. Even though you will see full backups in theβ¦
β bannister.me - submitted by James Bannister
The article dives into a couple of methods for customising the email verification expiration time for verification email sent by Laravel for new users. In one case we use the config setting, in the other we override the verificationUrl method to customise how this is generated.
Read more [bannister.me]
β timacdonald.me
Another nice post by Tim who continues to share suprising, little nice features of Laravel.
Read more [timacdonald.me]
β protone.media
Pascal Baljet shares a nice way to handle Base64 encoded files in Laravel
Read more [protone.media]
β atymic.dev - submitted by atymic
Overview of the new upsert feature in Laravel 8.10, how to use it and some tips.
Read more [atymic.dev]
We've already covered a lot of ground in this series. Let's finish by highlighting some miscellaneous interesting tidbits.
Our company has created a lot of open-source packages. At the moment of writing, we have over 200 packages, which have been downloaded nearly 100 million times. Because we think the package users might be interested in our paid offerings as well, we've put a small ad in the readme of each repo. In this blogpost I'll explain how we manage these ads using Laravel Nova and S3.