定制 arokettu/arithmetic-parser 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

arokettu/arithmetic-parser

最新稳定版本:3.0.0

Composer 安装命令:

composer require arokettu/arithmetic-parser

包简介

Configurable arithmetic parser and interpreter

README 文档

README

Packagist PHP License Gitlab CI Codecov

A library that can parse and interpret arithmetic expressions. It's aimed to be configurable and safe to process end user's input.

Installation

composer require 'arokettu/arithmetic-parser'

Example

<?php

\Arokettu\ArithmeticParser\Calculator::evaluate('x + y', x: 2, y: 3); // 5

Documentation

Read the full documentation here: https://sandfox.dev/php/arithmetic-parser.html

Also on Read the Docs: https://php-arithmetic-parser.readthedocs.io

Support

Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/arithmetic-parser/-/issues

Feel free to ask any questions in our room on Gitter: https://gitter.im/arokettu/community

License

The library is available as open source under the terms of the MIT License.

统计信息

  • 总下载量: 9.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-09