2017 © Pedro Peláez
 

library phantasy-php

Curried version of all PHP functions

image

mckayb/phantasy-php

Curried version of all PHP functions

  • Thursday, February 15, 2018
  • by mckayb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Phantasy-PHP CircleCICoverage Status

Curried versions of common PHP functions., (*1)

Getting Started

Installation

composer require mckayb/phantasy-php, (*2)

Usage

use function Phantasy\PHP\{explode, implode};

$explodeBySpace = explode(' ');
$arr = $explodeBySpace('foo bar');
// ['foo', 'bar']

$implodeWithCommas = implode('-');
$implodeWithCommas($arr);
// 'foo,bar'

For more information, read the docs!, (*3)

What's Included

I'm slowly working my way up to all of the PHP functions, but I should have most of the ones that people use in their everyday code covered. If I'm missing one that you need, let me know by opening up an issue or a pull request., (*4)

Contributing

Find a bug? Want to make any additions? Just create an issue or open up a pull request., (*5)

Inspiration

The Versions

15/02 2018

dev-master

9999999-dev

Curried version of all PHP functions

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

15/02 2018

v0.3.1

0.3.1.0

Curried version of all PHP functions

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

15/10 2017

v0.3.0

0.3.0.0

Curried version of all PHP functions

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

15/10 2017

dev-feature/change-argument-unpacking-add-file-functions

dev-feature/change-argument-unpacking-add-file-functions

Curried version of all PHP functions

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

04/08 2017

v0.2.0

0.2.0.0

Curried version of all PHP functions

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

04/08 2017

v0.1.1

0.1.1.0

Curried version of all PHP functions

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

04/08 2017

v0.1.0

0.1.0.0

Curried version of all PHP functions

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires