ilyatos/parentheses-checker

Validate your string, that consists of only parentheses.

Maintainers

Package info

github.com/ilyatos/parentheses-checker

pkg:composer/ilyatos/parentheses-checker

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2019-06-17 08:17 UTC

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('()()((()))');