xparse / css-expression-translator
Translate css to xpath
Installs: 34 399
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 3
Open Issues: 0
Requires
- php: ^7.1 || ^8.0
- symfony/css-selector: ^5.2
- xparse/expression-translator: 0.0.* || ^1.0.0
Requires (Dev)
- phpunit/phpunit: ^9.3
This package is auto-updated.
Last update: 2024-01-12 06:09:03 UTC
README
CssExpressionTranslator
Translate css to xpath. Based on symfony/css-selector
Install
Via Composer
composer require xparse/css-expression-translator
Usage
$translator = new CssExpressionTranslator(); echo $translator->toXpath('a');
Testing
./vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.