PHP 8.2 in 8 code blocks
A concise overview of PHP 8.2's new features, including readonly classes, new types, and the random extension, demonstrated with code examples.
A concise overview of PHP 8.2's new features, including readonly classes, new types, and the random extension, demonstrated with code examples.
Analyzes PHP's proposed 'asymmetric visibility' RFC for properties, comparing it to existing readonly features and discussing potential feature overlap.
A developer's wishlist for PHP improvements, including generics, static analysis, a TypeScript-like superset, and syntax enhancements.
Explains the deprecation of dynamic properties in PHP 8.2, its impact, and the recommended solutions using __get/__set or the AllowDynamicProperties attribute.
A newsletter series offering daily emails teaching about new features in PHP 8.2, following the format of previous successful editions.
A PHP developer argues for stricter type systems and static analysis to reduce uncertainty and doubt in code, increasing productivity.
A visual history of PHP Data Transfer Objects (DTOs) evolving from PHP 5.6 through modern versions, showcasing syntax improvements.
A tutorial on deploying a Dockerized PHP application to Google Cloud Platform using Docker Compose for production environments.
Analysis of PHP version adoption trends in July 2022, showing growth of PHP 8.1 and concerns over slow migration from PHP 7.4.
A personal style guide for writing enums in PHP, covering naming conventions, backed enums, and simple methods.
Attribute usage in top-1000 PHP packages Written on 2022-05-20 Attributes were originally introduced in PHP 8.0 two years ago. Yesterday, I came acros
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.
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.