Dealing with deprecations
Explains the purpose of PHP deprecation notices, how to handle them, and why they are beneficial for long-term code health.
Explains the purpose of PHP deprecation notices, how to handle them, and why they are beneficial for long-term code health.
A tutorial on setting up CI pipelines for Dockerized PHP applications using GitHub Actions and GitLab CI.
A tutorial on using git-secret with Docker to securely encrypt and manage secrets (passwords, tokens) within a Git repository for PHP projects.
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.
An argument for implementing generics in PHP via static analysis, discussing the technical challenges and required mindset shift for developers.
A developer announces leaving Spatie to join JetBrains' PhpStorm team as a developer advocate, focusing on PHP community and content.
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.