PHP Classes

How to Use a PHP Formula Validator to Check if the Formula Syntax is Correct Using the Package Formula Tools PHP: Validate a formula from given token strings

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-12-21 (6 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
formula-tools-php 1.0MIT/X Consortium ...7Validation, Math, PHP 7
Description 

Author

This package can validate a formula from given token strings.

It can take an array of token strings by checking formula grammar rules.

Currently, it supports validating formulas that have:

- Brackets to group expressions

- Operations using unary and binary operations

Picture of Smoren  Freelight
  Performance   Level  
Innovation award
Innovation award
Nominee: 16x

 

Documentation

PHP Formula Tools

Packagist PHP Version Support Scrutinizer Code Quality Coverage Status Build and test License: MIT

How to install to your project

composer require smoren/formula-tools

Unit testing

composer install
composer test-init
composer test

Standards

PHP Formula Tools conforms to the following standards:

License

PHP Formula Tools is licensed under the MIT License.


  Files folder image Files (23)  
File Role Description
Files folder image.github (1 directory)
Files folder imagesrc (3 directories)
Files folder imagetests (3 files, 2 directories)
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file codeception.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpcs.xml Data Auxiliary data
Accessible without login Plain text file phpstan.neon Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0