porandaikin / math-calculate-bundle
Symfony math calculate Bundle
dev-master
2019-03-18 00:45 UTC
Requires
- php: ^7.1.3
- ext-ctype: *
- ext-iconv: *
- symfony/console: 4.2.*
- symfony/dotenv: 4.2.*
- symfony/flex: ^1.1
- symfony/framework-bundle: 4.2.*
- symfony/yaml: 4.2.*
Requires (Dev)
- lookyman/phpstan-symfony: ^0.5.0
- phing/phing: ^2.16
- phpmd/phpmd: ^2.6
- phpstan/phpstan: ^0.9.2
- phpstan/phpstan-doctrine: ^0.9.1
- phpstan/phpstan-phpunit: ^0.9.4
- phpunit/phpunit: ^7.2
- sebastian/phpcpd: ^4.0
- sensiolabs/security-checker: ^4.1
- squizlabs/php_codesniffer: ^3.1
This package is not auto-updated.
Last update: 2025-03-25 20:08:33 UTC
README
1) Добавить пакет к symfony приложению composer require porandaikin/math-calculate-bundle 2) Если нужно использовать другой парсер или считать другим калькулятором, добавить в service.yml
porandaikin\MathCalculateBundle\Service\MathCalculate:
autowire: true
arguments:
$parser: '@App\Service\ParserTest'
$calculate: '@App\Service\CalculateTest'