PHPackages                             prolic/fpp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. prolic/fpp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

prolic/fpp
==========

Functional PHP Preprocessor

v0.1.0(6y ago)28695.1k26[4 issues](https://github.com/prolic/fpp/issues)[1 PRs](https://github.com/prolic/fpp/pulls)BSD-3-ClausePHPPHP ^7.1

Since Apr 10Pushed 3y ago14 watchersCompare

[ Source](https://github.com/prolic/fpp)[ Packagist](https://packagist.org/packages/prolic/fpp)[ Patreon](https://www.patreon.com/prolic)[ RSS](/packages/prolic-fpp/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

FPP
===

[](#fpp)

Functional PHP Preprocessor - Immutable data type generator
-----------------------------------------------------------

[](#functional-php-preprocessor---immutable-data-type-generator)

This library can generate immutable data types based on fpp definitions. The syntax is inspired by Haskell.

[![Build Status](https://camo.githubusercontent.com/744545e52d990329850e9318243fec6df91cea8ef44e3dbfdd6b3fa3535b9e7a/68747470733a2f2f7472617669732d63692e6f72672f70726f6c69632f6670702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/prolic/fpp)[![Coverage Status](https://camo.githubusercontent.com/1f4e6c98e47864e808ff92c04ae64caed91e36366db57167f51c8a70faa83ef0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70726f6c69632f6670702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/prolic/fpp?branch=master)

Sponsor
-------

[](#sponsor)

If you want to support my work, become a patron at [patreon.com/prolic](https://www.patreon.com/notifications).

Credits
-------

[](#credits)

[Marcello Duarte](https://github.com/MarcelloDuarte/) created the [ParserCombinators](https://github.com/MarcelloDuarte/ParserCombinators/) project in 2017. The rewrite of this library is heavily inspired by it and reuses some of its base functions.

Docs
----

[](#docs)

[See the docs here](https://github.com/prolic/fpp/tree/master/docs/Home.md)

Install
-------

[](#install)

```
composer require prolic/fpp dev-master
```

Usage
-----

[](#usage)

Disable xdebug or increase xdebug.max\_nesting\_level in your php.ini file.

```
php vendor/bin/fpp.php
```

Generate configuration
----------------------

[](#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
--------------------------

[](#changes-from-010-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.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2264d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/394428?v=4)[Sascha-Oliver Prolić](/maintainers/prolic)[@prolic](https://github.com/prolic)

---

Top Contributors

[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (495 commits)")[![gquemener](https://avatars.githubusercontent.com/u/668604?v=4)](https://github.com/gquemener "gquemener (56 commits)")[![paales](https://avatars.githubusercontent.com/u/1244416?v=4)](https://github.com/paales "paales (23 commits)")[![darrylhein](https://avatars.githubusercontent.com/u/376976?v=4)](https://github.com/darrylhein "darrylhein (7 commits)")[![Lctrs](https://avatars.githubusercontent.com/u/5477973?v=4)](https://github.com/Lctrs "Lctrs (4 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (4 commits)")[![SimonPrins](https://avatars.githubusercontent.com/u/6427655?v=4)](https://github.com/SimonPrins "SimonPrins (4 commits)")[![cwoskoski](https://avatars.githubusercontent.com/u/7571576?v=4)](https://github.com/cwoskoski "cwoskoski (3 commits)")[![simensen](https://avatars.githubusercontent.com/u/191200?v=4)](https://github.com/simensen "simensen (2 commits)")[![unixslayer](https://avatars.githubusercontent.com/u/1131246?v=4)](https://github.com/unixslayer "unixslayer (1 commits)")[![ambersariya](https://avatars.githubusercontent.com/u/1080238?v=4)](https://github.com/ambersariya "ambersariya (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![jeromegamez](https://avatars.githubusercontent.com/u/67554?v=4)](https://github.com/jeromegamez "jeromegamez (1 commits)")[![lunetics](https://avatars.githubusercontent.com/u/149752?v=4)](https://github.com/lunetics "lunetics (1 commits)")[![notFloran](https://avatars.githubusercontent.com/u/523981?v=4)](https://github.com/notFloran "notFloran (1 commits)")[![Sevavietl](https://avatars.githubusercontent.com/u/1844827?v=4)](https://github.com/Sevavietl "Sevavietl (1 commits)")[![sgomez](https://avatars.githubusercontent.com/u/580701?v=4)](https://github.com/sgomez "sgomez (1 commits)")[![Adirelle](https://avatars.githubusercontent.com/u/24633?v=4)](https://github.com/Adirelle "Adirelle (1 commits)")

---

Tags

code-generationcode-generatordatatypesdddenumfunctionalimmutablephpprooph

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/prolic-fpp/health.svg)

```
[![Health](https://phpackages.com/badges/prolic-fpp/health.svg)](https://phpackages.com/packages/prolic-fpp)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
