Unstuck your team, today.
Every action you make should be about shipping more to keep your customers engaged and happy.
What if you could be responsible for less code and delegate more work to the open source community? That is what PHP is about.
Developers are not robots. When they test their code, they can't realistically know if they broke something somewhere else. Let machines test everything, every time. Tools like PHPUnit make this really easy, and I will show you how.
The more time you spend in a codebase, the harder it is to face the real problems. Having a complete stranger looking at it can change the game.
Stuck on a bug? I’m the pair of fresh eyes you need.
Let’s go through your code together to ensure it’s the best it can be.
We’ll discuss how to structure your app for success.
I’ll show you how to make your code run faster and smoother.
I can recommend tools and packages to achieve your goals faster.
We’ll talk about the latest best practices to keep your project on track.
Hey! I'm Benjamin Crozat and I've been a professional web developer for more than 12 years.
I started using PHP in 2006 back when version 4 was still widely used.
Since then, I've worked for countless clients who also chose this veteran scripting language. I've been very active in the community, specifically in the Laravel world, and I wrote countless articles on the topic.
You can learn more about my involvement here, but also on my X account (formerly Twitter), my GitHub, and my LinkedIn.
PHP 9.0 is still far in the future. We don't know a lot, but we have a few breaking changes planned for it.
Convert PHP arrays to JSON with `json_encode()`. Ideal for data exchange, storing data, and API communication.
There are multiple ways to check if an array is empty. Let me tell you about each of them and why and when you should use them.
Let's step up your code with a safer way of coding using PHP's Enumerations, or Enums. With this guide, you'll know everything there is to know about them.
PHP 8.4 is expected to drop on November 21, 2024. Let's review the known new features and changes.
Explore the world of PHP debugging with var_dump(), and Laravel's friendlier alternatives, dump() and dd(). Much charm, such useful!
Discover how to check your version of PHP using phpinfo(), your terminal, Laravel's welcome page, or a Laravel Artisan command.
Improve your projects by leveraging the power of GPT, the famous language model, using PHP and OpenAI's REST API.
Discover how to reveal all PHP errors in your script or globally via php.ini for effective debugging, but remember to adjust before going live.
To keep getting better with PHP, you should subscribe to as many quality blogs as possible. In this article, I share the ones I often read myself.
Whether PHP is dead is a matter of numbers, not opinions. I will provide you with essential statistics that will lead you to make better decisions.
Debugging requires dissecting everything. Here's a list of all the one-line of code built-in ways to print arrays in PHP (and even Laravel-specific helpers).
Discover the location of your php.ini file using two simple methods: the phpinfo() function or the command line.
Let me walk you through some of the most useful functions in PHP that will enable you to sort any kind of array.
Learn why the "Using $this when not in object context" error happens, and let me show you the only way to fix.
Discover how to simplify your PHP code with the null coalescing and null coalescing assignment operators.
See how PHP allows you to filter unwanted values in arrays in a simple and concise way.