Dealing with dependencies
Practical strategies for updating PHP projects when external dependencies don't yet support the latest PHP version, including testing, contributing, and finding alternatives.
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.
Real-world performance benchmarks comparing PHP 8.1 to PHP 8.0, showing a 5-8% speed improvement.
Overview of new features in PHP 8.1, including enums, fibers, performance improvements, and new syntax like readonly properties.
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.
A video and transcript explaining how to implement and use generics in PHP via docblocks, with support from PHPStan, Psalm, and PhpStorm.
A developer's analysis of using attributes for routing in PHP, weighing pros and cons and proposing solutions for scaling.
A technical deep dive into the inner workings of the Livewire framework, explaining how it enables dynamic PHP components in Laravel.
PHP 8.1 introduces the 'new in initializers' feature, allowing the use of `new` expressions in parameter defaults, attributes, and more.
A guide to using Sail CLI for performance profiling of WordPress sites, analyzing PHP functions, database queries, and actions/filters.
A guide to starting a quick HTTP server from the command line using Python, Ruby, Node, and PHP as alternatives to the VSCode liveserver extension.
A reflection on how frameworks are born from revolutionary ideas and how popularity can lead to their eventual decline, using examples like Laravel and Joda Time.
Guide to finding and updating Azure WebApps using PHP 7.3 before its end-of-support date to maintain security and support.
Explains PHP 8.1's new readonly properties for creating immutable data transfer and value objects, comparing code examples from older PHP versions.