Splitting a large Laravel Livewire Component
– 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]
– 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]
Everybody makes fuckups. When you do, don't be ashamed, just try to learn from it.
Read more [stitcher.io]
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."
At the time of writing there is no version of Imagick compatible with PHP 8. Fortuntely, the version on the master brach of the Imagick repo seems to work. Here's how you can use it. Clone the repo somewhere on disk Follow the steps mentioned here to create the extension. cd <directory of cloned…
After tweeting out a screenshot, it often get questions around which editor, font or color scheme I'm using. Instead of replying to those questions individually I've decided to just write down the settings and apps that I'm using.
– stitcher.io - submitted by Brent
Here's a rundown of all the shiney new features.
Read more [stitcher.io]
Concise instructions on how to install PHP 8 locally.
Read more [stitcher.io]
To get the backtrace in PHP, you can use the debug_backtrace function. By default, it can be hard to work with. Using our newly released spatie/backtrace package, this becomes much simpler.
Let's dive in!
Another nice post by Sara Soueidan.
Read more [www.sarasoueidan.com]
The ArrayShape one is pretty interesting.
Read more [blog.jetbrains.com]
As of Git 2.23 there is a way to configure a list of commits for git blame to ignore.
Read more [tekin.co.uk]
This cheat sheet offers handy snippets that demonstrate cool stuff you can do with modern PHP
Read more [front-line-php.com]
Here's an excerpt taken from Front Line PHP where different strategies to handle null are explained
Read more [front-line-php.com]
Developed by Derick Rethans, Xdebug 2 is the current stable version. Xdebug 3 had its first RC release out just a few days ago, and this post benchmarks the performance improvements in the new version.
Read more [php.watch]
Technical debt is not simply a measure of the specific work needed to repay the debt; it is the additional time and effort added to all past, present, and future work that comes from having the debt in the first place.
Read more [www.oreilly.com]
Jeffrey Way shares the strategies he uses to combat spam on the Laracasts forum.
Read more [laracasts.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]
In this post, Francois Zaninotto explains why and how he stopped working on Faker.
Read more [marmelab.com]
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.
Here's an entire chapter taken from Front Line PHP, a course on building moderns apps with PHP 8
Read more [front-line-php.com]
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.