Set up PHP QA tools and control them via make [Tutorial Part 5]
Tutorial on setting up PHP code quality tools (phpcs, phpstan, etc.) in Docker and controlling them via GNU make commands.
Tutorial on setting up PHP code quality tools (phpcs, phpstan, etc.) in Docker and controlling them via GNU make commands.
A deep dive into the Strategy Pattern in programming, exploring its implementation, extensibility, and potential pitfalls with practical code examples.
A developer announces leaving Spatie to join JetBrains' PhpStorm team as a developer advocate, focusing on PHP community and content.
An argument for implementing generics in PHP via static analysis, discussing the technical challenges and required mindset shift for developers.
Explores the technical and architectural reasons why PHP does not yet support generics, examining three potential implementation methods and their challenges.
A tutorial on setting up and running Laravel 9 within a Docker environment, covering Artisan, Redis, and controllers.
An in-depth look at generics in PHP, covering their use beyond collections and how static analyzers implement them via docblocks.
An introduction to generics in PHP, explaining what they are, why PHP lacks them, and their potential future in the language.
A look at PHP's modern features, active development, and thriving community in 2021, debunking the myth that the language is dead.
Practical strategies for updating PHP projects when external dependencies don't yet support the latest PHP version, including testing, contributing, and finding alternatives.
An overview of modern PHP features in 2022, including PHP 8.1's enums, readonly properties, and the growing static analysis ecosystem.
Analysis of PHP version usage statistics from January 2022, showing adoption rates for PHP 8.1, 8.0, and older versions.
A Laravel security tip emphasizing the critical importance of validating all user input to prevent unexpected behavior and security vulnerabilities.
A technical benchmark comparing the performance of PHP's include() vs file_get_contents() for reading files, with surprising results.
A step-by-step guide to upgrading PHP to version 8.1 on macOS using the Homebrew package manager, including handling extensions and Laravel Valet.
Overview of new features in PHP 8.1, including enums, fibers, performance improvements, and new syntax like readonly properties.
Real-world performance benchmarks comparing PHP 8.1 to PHP 8.0, showing a 5-8% speed improvement.
A reference list of PHP 8.0 token names with their corresponding decimal and hexadecimal values for debugging and parsing.
A developer argues for using 'protected' over 'private' visibility for class properties in PHP, discussing flexibility and use-case considerations.
A concise overview of PHP 8.1's new features, including enums, readonly properties, fibers, and array unpacking, demonstrated through code examples.