It’s not legacy code — it’s PHP
In 2004 Vimeo wrote their first backend code in PHP. 16 years later and they (mainly) still run PHP. Many developers wrote a bit of PHP a decade ago and have since moved on to better-respected...
View ArticleRay – Dump Debugging Evolved
The folks over at Spatie have released a new tool called Ray that helps you with debugging. Ray is a beautiful, lightweight desktop app that helps you debug your app. After installing one of the...
View ArticlePHP Curl Security Hardening
Good post — with accompanying code — on PHP.Watch on how to tighten the almighty curl: Limit Curl Protocols Do not enable automatic redirects unless absolutely necessary If redirects are enabled...
View ArticleUnconventional Autoloaders in PHP
Recording from the October 2020 edition of Laravel Worldwide Meetup where Liam Hammet (starting at 36:58) showed off some nice use cases for custom autoloaders in PHP: We use autoloaders in PHP all...
View ArticlePHP Cloud Functions on Google Cloud Platform with “Functions Framework for PHP”
Google Cloud Platform has launched official support for PHP Cloud Functions using Functions Framework for PHP. With it, an HTTP Cloud Function becomes as simple as this: use...
View ArticlePHP 8.1: before and after
Brent goes over some of the new language features in PHP 8.1, including before and after snippets to go along with that. PHP 8.1: before and after →
View ArticlePHP 8.1 in 8 code blocks
Brent gives a good overview of the additions that will land in PHP 8.1: Enums Readonly Properties New in initalizers (yes!) Fibers Array unpacking while retaining keys First class callables Pure...
View ArticlePHP Monitor — Visual PHP Version Switcher that integrates with Laravel Valet
If you’re just getting started with PHP and/or Homebrew, the whole CLI aspect to install and manage PHP versions can become a bit overwhelming. With PHP Monitor by Nico Verbruggen that task becomes...
View ArticleLaravel Zero – Micro-framework for console applications
Laravel Zero is a lightweight and modular micro-framework for developing fast and powerful console applications. Built on top of the Laravel components. Think of it as a stripped down Laravel, without...
View ArticleValet 3.0: Multiple/Parallel PHP Version Support
For my local PHP Development needs I use Laravel Valet. It’s easy to set up, provides HTTPS, and just works. The only downside of using it, is the fact that the selected PHP version is system-wide:...
View Article