PHP

PHP has existed for more than 30 years and continues to evolve. In this category, I share small observations, differences between language versions, and situations I encounter in my everyday work.

php-85-pipe-operator-laravel-real-code.png
PHP

PHP 8.5 Pipe Operator in Real Laravel Code: Where |> Actually Improves Readability

While building the IndexNow integration in Laravel, I used PHP 8.5's Pipe Operator to clean and normalize a URL list through several transformations. Using real production code, I compare |> with nested function calls and show where the pipeline syntax improves readability and where I would avoid it.

28
php-85-laravel-package-laradock-composer-upgrade.png
PHP

Upgrading Laravel to PHP 8.5: Laradock and Composer package migration

PHP 8.5 is already stable, although some server providers still do not offer even PHP 8.4. This article explains how I installed PHP 8.5 locally, updated Laradock to run multiple PHP versions side by side, and raised the baseline of my own Laravel package.

131