Fpp
Functional PHP Preprocessor - Generate Immutable Data Types
Install / Use
/learn @prolic/FppREADME
FPP
Functional PHP Preprocessor - Immutable data type generator
This library can generate immutable data types based on fpp definitions. The syntax is inspired by Haskell.
Sponsor
If you want to support my work, become a patron at patreon.com/prolic.
Credits
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.
Docs
Install
composer require prolic/fpp dev-master
Usage
Disable xdebug or increase xdebug.max_nesting_level in your php.ini file.
php vendor/bin/fpp.php <source dir or file>
Generate configuration
php vendor/bin/fpp.php --gen-config
You can then modify the config file to adjust to your needs.
Changes from 0.1.0 Release
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.
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
