loyaltycorp / easy-decision
This package is abandoned and no longer maintained.
The author suggests using the eonx-com/easy-decision package instead.
Your most complex decisions taken the easiest way
v0.10.7
2019-11-13 04:22 UTC
Requires
- php: ^7.1
- loyaltycorp/easy-pipeline: ^0.10.7
- symfony/expression-language: ^4.2
Requires (Dev)
- laravel/lumen-framework: ^5.5
- phpunit/phpunit: ^7.5
- dev-master / 0.11.x-dev
- v0.10.7
- v0.10.6
- v0.10.5
- v0.10.4
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.11
- v0.7.10
- v0.7.9
- v0.7.8
- v0.7.7
- v0.7.6
- v0.7.5
- v0.7.4
- v0.7.3
- v0.7.2
- v0.7.0
- v0.6.14
- v0.6.13
- v0.6.12
- v0.6.11
- v0.6.10
- v0.6.9
- v0.6.8
- v0.6.7
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.1
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
This package is auto-updated.
Last update: 2019-11-25 05:30:38 UTC
README
Your most complex decisions made the easiest way.
Roadmap
- Yes/No Decision: Give input -> Rules -> True/False
- Value Decision: Give input -> Rules -> Get output
- Specific functions per decision type
- Common functions to all decision types
- Yes/No decision have different strategies:
- affirmative: Yes as soon as first rule says yes
- consensus: Yes if more yes than no
- unanimous: Yes if everybody says yes
- Priority on rules: Run first the rules with smallest priority
- Rules can say if they support the given input
- After run users can get which rules ran, their body and output
- Test the Laravel Decision Factory
- Improve config file with some examples
- Create a PHP methods expression functions provider as helper
- Create documentation