ilyatos / parentheses-checker
Validate your string, that consists of only parentheses.
dev-master
2019-06-17 08:17 UTC
Requires
- php: ^7.3
Requires (Dev)
- phpunit/phpunit: ^8.2
This package is auto-updated.
Last update: 2026-03-17 23:22:25 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('()()((()))');