{"id":19260533,"url":"https://github.com/andersonrezende/formula-executor","last_synced_at":"2025-07-08T20:32:41.586Z","repository":{"id":177677395,"uuid":"656211920","full_name":"AndersonRezende/formula-executor","owner":"AndersonRezende","description":"Formula converter and executor in string format","archived":false,"fork":false,"pushed_at":"2023-07-03T21:28:42.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T13:04:39.445Z","etag":null,"topics":["addition","division","executor","exponentiation","formula","infix","math","multiplication","notation","polish","postfix","subtraction"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndersonRezende.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-20T13:29:42.000Z","updated_at":"2023-07-03T19:12:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0cf32d5-a1b3-44c6-8c89-51a79d907b5e","html_url":"https://github.com/AndersonRezende/formula-executor","commit_stats":null,"previous_names":["andersonrezende/formula-executor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/AndersonRezende/formula-executor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonRezende%2Fformula-executor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonRezende%2Fformula-executor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonRezende%2Fformula-executor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonRezende%2Fformula-executor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndersonRezende","download_url":"https://codeload.github.com/AndersonRezende/formula-executor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndersonRezende%2Fformula-executor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264343798,"owners_count":23593792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addition","division","executor","exponentiation","formula","infix","math","multiplication","notation","polish","postfix","subtraction"],"created_at":"2024-11-09T19:21:32.471Z","updated_at":"2025-07-08T20:32:41.568Z","avatar_url":"https://github.com/AndersonRezende.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# formula-executor ![Tests](https://github.com/AndersonRezende/formula-executor/actions/workflows/php.yml/badge.svg)\nSimple math expression calculator\n\n## Install:\n```\n$ composer require nxp/math-executor\n```\n\n## Support:\n* Multiplication\n* Division\n* Addition\n* Subtraction\n* Exponentiation\n* Parentheses\n\n## Basic usage:\n```php\nuse Andersonrezende\\FormulaExecutor\\FormulaExecutor;\n\n$formula = '(a * (b + c) / d - e)';\n$values = array('a' =\u003e 5, 'b' =\u003e 3, 'c' =\u003e 2, 'd' =\u003e 4, 'e' =\u003e 6);\n$formulaExecutor = new FormulaExecutor($formula, $values);\n$resultFormula = $formulaExecutor-\u003eexecute();\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonrezende%2Fformula-executor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersonrezende%2Fformula-executor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonrezende%2Fformula-executor/lists"}