Stars: 283
Forks: 26
Pull Requests: 89
Issues: 84
Watchers: 16
Last Updated: 2023-03-10 09:57:48
Functional PHP Preprocessor - Generate Immutable Data Types
License: BSD 3-Clause "New" or "Revised" License
Languages: PHP, Batchfile
This library can generate immutable data types based on fpp definitions. The syntax is inspired by Haskell.
If you want to support my work, become a patron at patreon.com/prolic.
Marcello Duarte created the ParserCombinators project in 2017. The rewrite of this library is heavily inspired by it and reuses some of its base functions.
composer require prolic/fpp dev-master
Disable xdebug or increase xdebug.max_nesting_level in your php.ini file.
php vendor/bin/fpp.php <source dir or file>
php vendor/bin/fpp.php --gen-config
You can then modify the config file to adjust to your needs.
This library has been rewritten from scratch. If you want to use the old version, pin your composer requirement to 0.1.0.
The master branch is not compatible at all.