Search by

braadiv / css-selector

braaalsalahi

Symfony CssSelector Component (PHP 8.4 LTS Modernized Fork)

Package info

github.com/braadiv/css-selector

pkg:composer/braadiv/css-selector

Statistics

Installs: 7

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v3.4.48 2026-11-01 09:37 UTC

This package is auto-updated.

Last update: 2026-11-01 09:51:35 UTC


README

⚠️ This is a PHP 8.4 compatibility fork — NOT an original work.

Credits & Attribution

This package is a modernized fork of the original symfony/css-selector, created and maintained by Fabien Potencier, Jean-François Simon, and the Symfony Community.

All original code, design, and intellectual property belong to the original author(s).

The only modifications made in this fork are:

  • Fixing PHP 8.4 deprecation warnings (implicit nullable parameters in Parser.php and Translator.php)
  • Updating composer.json to support PHP 8.1–8.4 LTS
  • Retaining 100% backward compatibility as a drop-in replacement

Why this fork?

The Symfony 3.4 component series reached End-of-Life and is no longer updated by the Symfony core team. However, legacy packages and Yii2 extensions (such as wbraganca/yii2-dynamicform) still pin their dependencies to ~2.8|~3.0. Under PHP 8.4 LTS, implicit nullable parameters trigger E_DEPRECATED warnings.

This fork provides a safe, drop-in replacement under PHP 8.4 without altering any runtime behaviour.

Installation

composer require braadiv/css-selector

Original Package Information

Original Package symfony/css-selector
Original Version v3.4.47
Original Authors Fabien Potencier, Jean-François Simon, Symfony Community
Original License MIT
Fork Maintainer braadiv (github.com/braadiv)
PHP Compatibility `>=8.1

Changes from Original

See CHANGELOG.md for a detailed list of all modifications.

License

This fork retains the same license as the original package (MIT). All rights and credits belong to the original authors.