PHP Classes

How to Implement a PHP Grammar Checker to Validate a String that Follow Certain Grammar Rules - Mezon Formal Grammar package blog

Recommend this page to a friend!
  All package blogs All package blogs   Mezon Formal Grammar Mezon Formal Grammar   Blog Mezon Formal Grammar package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a PH...  
  Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)  

Author:

Updated on: 2022-02-17

Posted on: 2022-02-17

Package: Mezon Formal Grammar

Some applications need to parse a text that follows specific grammar rules.

This package allows developers to dynamically create their own grammar rules using classes that implement simple grammar rules.

Then the package can validate a string to check if it complies with the grammar rules defined dynamically.




Loaded Article

About the Mezon Formal Grammar Package

The package Mezon Formal Grammar is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Validate a string according to your grammar rules

Here follows in more detail what it does:

This package can validate a string according to your own grammar rules.

It provides classes that can compose a set of text grammar rules.

The package can also validate a given text string according to those rules.

It provides built-in classes that implement several rules to compose a more complex grammar. Currently, it provides classes to:

- Match case sensitive text

- Match text from a given character set

- Match any rule from a set of rules

- Match rules from a complex set of rules

- Match a compound set of rules

- Match an empty string

- Match a set of rules in any order

- Match precisely one character

- Match precisely one character or nothing

- Match one or more characters

- Match one or more characters or nothing

- Etc.

Conclusion

The Mezon Formal Grammar can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

1,596,699 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

1. Package - Alan B (2022-02-17 18:51)
any documentation?... - 0 replies
Read the whole comment and replies



  Post a comment Post a comment   See comments See comments (1)   Trackbacks (0)  
  All package blogs All package blogs   Mezon Formal Grammar Mezon Formal Grammar   Blog Mezon Formal Grammar package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a PH...  
For more information send a message to info at phpclasses dot org.