PHP.Watch Articles

How to install Composer packages ignoring PHP version requirements

How to install Composer packages ignoring PHP version requirements

How to force-install PHP packages, ignoring version requirements set by dependencies
Attributes in PHP 8

Attributes in PHP 8

A comprehensive guide to PHP 8's new Attributes
Ternary and Ternary Coalescing Operator in PHP

Ternary and Ternary Coalescing Operator in PHP

A quick guide on PHP's Ternary Operators and Coalescing operators
Liskov Substitution Principle in PHP

Liskov Substitution Principle in PHP

How Liskov Substitution Principle applies to PHP, and PHPs contravariance and covariance.
Composer 2: Platform Check

Composer 2: Platform Check

All you need to know about Composer v2's new platform-check feature.
Composer 2: What's new and changed

Composer 2: What's new and changed

PHP's dependency manager, composer has its new major version 2 coming soon! Here is what is new and changing.
Remove Unnecessary PHP Composer Polyfills

Remove Unnecessary PHP Composer Polyfills

How to prevent composer from installing polyfills when you already fulfill the requirements.
Hierarchy of PHP exceptions

Hierarchy of PHP exceptions

An overlook of PHP core Exceptions including a chart on how PHP core exception classes are inherited.
WordPress Security Advisories

WordPress Security Advisories

A composer meta-package to prevent installing WordPress core, packages, and themes with known vulnerabilities.
Fix PHP 7.4 + MySQL 8 errors with `server has gone away`

Fix PHP 7.4 + MySQL 8 errors with server has gone away

Quick write-up to help with server has gone away issues with PHP 7.4 when used with MySQL 8.
Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.