https://github.com/cucumber/tag-expressions-php
[READ ONLY] Cucumber Tag Expressions for PHP - subtree of https://github.com/cucumber/tag-expressions
https://github.com/cucumber/tag-expressions-php
Last synced: 6 months ago
JSON representation
[READ ONLY] Cucumber Tag Expressions for PHP - subtree of https://github.com/cucumber/tag-expressions
- Host: GitHub
- URL: https://github.com/cucumber/tag-expressions-php
- Owner: cucumber
- License: mit
- Created: 2025-05-25T12:17:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-26T13:22:44.000Z (8 months ago)
- Last Synced: 2025-11-29T11:25:14.842Z (8 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cucumber Tag Expressions
This is a PHP implementation of the [Cucumber Tag Expressions parser](https://github.com/cucumber/tag-expressions)
## Requirements
* PHP 8.1
## Installation
Install using [composer](https://getcomposer.org).
```shell
composer require cucumber/tag-expressions
```
## Usage
```php
use Cucumber\TagExpressions\TagExpressionParser;
$expression = TagExpressionParser::parse('@smoke and not @ui');
$result = $expression->evaluate(['@smoke', '@cli'])
```