Geeking Out Over PHP
I was recently interviewed on my journey in PHP by the good folks at Kong. During this session you'll also see me demoing Ray.
I was recently interviewed on my journey in PHP by the good folks at Kong. During this session you'll also see me demoing Ray.
Here's why you should be carefull with array_merge in loops.
Read more [www.exakat.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.
"If you are one of the *millions* who have downloaded a Spatie package, then you understand the quality that Freek aims for. The newsletter is of the same quality of any Spatie package you're using."
Here's a cool post by Tom McFarlin how you can use Ray in WordPress to easily see a the callers of a function. This doesn't only work in WordPress but any Laravel and PHP app.
Read more [tommcfarlin.com]
- submitted by Tony Messias
Tony Messias has ported a cool feature from Rails to Laravel.
Here's how Luke Downing goes about testing environment specific things.
Read more [downing.tech]
– itsrav.dev - submitted by Sourav R
Output Buffering is not so popular these days, but it is powerful. with simple vintage OB technique I made a real-time payment process UI
Read more [itsrav.dev]
In this video, Michael steps a natural approache on how to test environment specific functionality.
Our team has released a small package called spatie/laravel-slack-alerts. It can be used to send a message to Slack quickly. In this blog post, I'd like to share why we've created this package and how you can use it.
Ignition is the most beautiful error page for PHP apps. Yesterday, we launched a new major version of Ignition - you can check out all the details in this blog post.
Ignition used to be Laravel specific, but we've now created a framework agnostic version as well. Let's try using Ignition in a simple Symfony app.
I'm proud to share that our team has released a new major version of Ignition, the most beautiful error page for Laravel and PHP. It has been redesigned from the ground up. Here's how it looks like. This error page will be the default in Laravel 9. You can optionally install it into any Laravel 8 or…
PHP has a few ways to access private properties this: reflection, closures and array casting.
Read more [www.lambda-out-loud.com]
Validation takes on many shapes and forms. In this post, Frank walks you through all the possibilities.
Read more [blog.frankdejonge.nl]
Ever found yourself wanting to make a small tweak to a PHP file in a Composer dependency? Here's how to do it without forking the entire package.
Read more [downing.tech]
A monorepo helps manage the complexity of a big codebase. Here's how you can create and manage such a monorepo.
Read more [blog.logrocket.com]
Now that we are in the final days of 2021, let's take a look back at that stuff my team and I did in 2021.
– doeken.org - submitted by Doeke Norg
Quick access to the highest or lowest value of a dataset.
Read more [doeken.org]
Here's a cool technique by Aaron Francis where he uses artisan commands to create daemons.
Read more [aaronfrancis.com]
Here's a nice way to go about filtering Carbon instances
Read more [tomerbe.co.uk]
I'm really proud of how our team at Spatie has pushed Flare this year. Here's a list of everything we improved. Spoiler: it's a lot!
Read more [flareapp.io]
– invariance.dev - submitted by Nicolas Beauvais
In some cases, the Laravel validator gives out too many details. What if we want to use the power of the validator without giving anything in the response?
Read more [invariance.dev]