2017 © Pedro Peláez
 

library universe

Descent Framework Standard PHP Functions

image

descent/universe

Descent Framework Standard PHP Functions

  • Friday, February 17, 2017
  • by nihylum
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

universe

Descent Framework Standard PHP Functions., (*1)

Standard PHP Functions

Similar to the Standard PHP Library, this package provides additional PHP functions at the global scope which are used at the core of the Descent Framework., (*2)

Implemented global scope array functions

  • array_fetch - resolves a query path based array value
  • array_extend - extends an given array by the provided query path and value
  • array_exclude - removes a value based on the provided query path
  • array_normalize - normalizes a array based on query path notation
  • array_ping - checks whether a query path exists or not
  • array_touch - guarantees that a query path is an array

See Functions.php., (*3)

What is query path?

Query paths are notations of a chain of array keys to directly access deep array values in a regular array., (*4)

Do query path based array functions work on arrays with query path notation?

No, you have to normalize those array. There is a function for such scenarios build in: array_normalize., (*5)

Do query path based array functions work directly on the source array?

No, all functions do create a copy of the provided array., (*6)

Implemented global scope callback functions

  • encloseCallback - creates a Closure of a provided callable, automatically uses Closure::fromCallable when available
  • encloseCallbackPattern - calls encloseCallback after the provided callback pattern (separated by the provided method separator and enhanced by the provided namespace) was converted to a callback.

The Versions

17/02 2017

dev-master

9999999-dev

Descent Framework Standard PHP Functions

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Matthias Kaschubowski

17/02 2017

v1.2

1.2.0.0

Descent Framework Standard PHP Functions

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Matthias Kaschubowski

15/02 2017

v1.1

1.1.0.0

Descent Framework Standard PHP Functions

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Matthias Kaschubowski

15/02 2017

V1.0.2

1.0.2.0

Descent Framework Standard PHP Functions

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Matthias Kaschubowski

15/02 2017

v1.0.1

1.0.1.0

Descent Framework Standard PHP Functions

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Matthias Kaschubowski

15/02 2017

v1.0

1.0.0.0

Descent Framework Standard PHP Functions and Framework Interface and Facades Universal Repository

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Matthias Kaschubowski