ilyatos / parentheses-checker
Validate your string, that consists of only parentheses.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/ilyatos/parentheses-checker
Requires
- php: ^7.3
Requires (Dev)
- phpunit/phpunit: ^8.2
This package is auto-updated.
Last update: 2025-09-17 22:22:08 UTC
README
Installation
Install this package via composer using the following command
composer require ilyatos/parentheses-checker
Usage
Use Ilyatos\Parentheses\Checker
class to check your sentence. Check method returns true
on right sequence of parenthesis, otherwise returns false
.
use Ilyatos\Parentheses\Checker; $checker = new Checker(); $checker->check('()()((()))');