GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - phpfn/phpfn: Functional PHP Toolset: Centralized monorepository for all libraries

BranchesTags
Open more actions menu

Latest commit

 

History

24 Commits
24 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
monorepo-builder.yaml
monorepo-builder.yaml
 
 
phpunit.xml
phpunit.xml
 
 
psalm.xml
psalm.xml
 
 

Repository files navigation

Functional PHP

Travis CI

PHP 7.4+ PHP 8.0 Compatible License MIT

Installation

Library can be installed into any PHP application:

  • Using Composer dependency manager
  • The Force for the Jedi Developers
$ 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

  • https://github.com/nikic/iter
  • https://github.com/lstrojny/functional-php

About

Functional PHP Toolset: Centralized monorepository for all libraries

Topics

curryingfunctionalimmutablemonorepopartial-applicationphpplaceholderstateless

Resources

Readme
MIT license
Activity
Custom properties

Stars

27 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.