Git Product home page Git Product logo

Functional PHP

Travis CI

PHP 7.4+ PHP 8.0 Compatible License MIT

Installation

Library can be installed into any PHP application:

$ composer require phpfn/phpfn

In order to access library make sure to include vendor/autoload.php in your file.

<?php

require __DIR__ . '/vendor/autoload.php';

Usage

This package includes

  • phpfn/curry is an implementation of currying and partial application.
  • phpfn/immutable is a little helper to ensure object immutability.
  • phpfn/pipe for the ability to use a sequence of functions as a chain.
  • phpfn/placeholder is a placeholder (looks like that: _) symbol implementation.
  • phpfn/symbol for the ability to create unique identifiers within the system.

See Also

Functional PHP's Projects

curry icon curry

[READONLY] Convenient implementation of function currying and partial application

immutable icon immutable

[READONLY] Simple helper to ensure immutable objects

phpfn icon phpfn

Functional PHP Toolset: Centralized monorepository for all libraries

pipe icon pipe

[READONLY] Library for implementing function call chains

placeholder icon placeholder

[READONLY] Primitive placeholder implementation for functional constructions

symbol icon symbol

[READONLY] The Symbol type PHP implementation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.