• Stars
    star
    283
  • Rank 141,518 (Top 3 %)
  • Language
    PHP
  • License
    BSD 3-Clause "New...
  • Created over 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Functional PHP Preprocessor - Generate Immutable Data Types

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.

Build Status Coverage Status

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

See the docs here

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.

More Repositories

1

HumusAmqp

PHP 7.4 AMQP library
PHP
76
star
2

futr

nostr client desktop app written in haskell
Haskell
41
star
3

HumusAmqpModule

AMQP module for Zend Framework 2 to integrate RabbitMQ
PHP
31
star
4

PhpDisruptor

High Performance Inter-Thread Messaging Library
PHP
23
star
5

HumusPHPUnitModule

module for Zend Framework 2 for unit testing, it is able to test all your zf2 modules and libraries at once
PHP
22
star
6

awesomeness

Experimental new EventStore Implementation.
PHP
18
star
7

HumusStreamResponseSender

Zf2 Module that sends stream responses with additional features like download resume and speed limit
PHP
12
star
8

HumusMvc

HumusMvc integrates Zend Framework 2's ModuleManager and ServiceManager in a ZF1 application
PHP
12
star
9

HumusDoctrineHydrator

A doctrine hydrator implementing Zend\Stdlib\Hydrator\HydratorInterface
PHP
8
star
10

fp-validation-php

Functional Programming - Validation in PHP, see https://www.youtube.com/watch?v=cfV5WYMWRJc
PHP
6
star
11

prooph-demo

Prooph Demo App https://youtu.be/X3r5ztw2t9Q
JavaScript
5
star
12

HumusSupervisorModule

Supervisor module for Zend Framework 2
PHP
5
star
13

HumusAmqpDemoModule

This is a demo module for Humus AMQP Module
PHP
4
star
14

schnorr-cli

Schnorr-CLI tool
Haskell
4
star
15

prooph-micro-fpp-singapore

Slides for the prooph micro and fpp talk at phpconf.asia 2018
JavaScript
3
star
16

prooph-v7-talk

HTML
3
star
17

Concurrent-PHP-Utils

port of java.util.concurrent to PHP based on pthreads-extension
PHP
3
star
18

service-bus-demo

prooph service-bus demo
PHP
2
star
19

cqrs-event-sourcing-talk

HTML
2
star
20

HumusNeo4jOGMModule

Zend Framework 2 Module that provides Neo4j OGM functionality
PHP
2
star
21

HumusMvcSkeletonApplication

This is a simple, skeleton application using the Zf1 MVC layer and integrates ZF2's ModuleManager and ServiceManager
PHP
2
star
22

ZF1_Doctrine2_ServiceLayer_DefaultProject

PHP
2
star
23

HumusRbacNavigationModule

Integration of ZfcRbac and SpiffyNavigation for ZF2
PHP
1
star
24

HumusDi

PHP
1
star
25

HumusBase

PHP
1
star