8000 GitHub - rquadling/polyfiller: A set of polyfillers for strings, arrays, etc. used by RQuadling's various projects
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A set of polyfillers for strings, arrays, etc. used by RQuadling's various projects

License

Notifications You must be signed in to change notification settings

rquadling/polyfiller

Repository files navigation

RQuadling/Polyfiller

Build Status Code Coverage GitHub issues

PHP Version Stable Version

Total Downloads Monthly Downloads Daily Downloads

A set of polyfillers for strings, arrays, etc. used by RQuadling's various projects

Installation

Using Composer:

composer require rquadling/polyfiller

Polyfillers

  1. Arrays
    1. array_filter_keys - Filters elements of an array using a callback function, based upon the key.
    2. array_get - Returns the requested value from an array based upon the key or the default value if the key does not exist.
    3. array_to_table - Convert an array that fits a database result set into a plain text table.
  2. Classes
    1. class_uses_recursive - Returns all traits used by a class, its parent classes and trait of their traits.
    2. trait_uses_recursive - Returns all traits used by a trait and its traits.
  3. Strings
    1. mb_str_pad - Multibyte String Pad.
    2. str_to_kebab_case - Convert a string to kebab case.

About

A set of polyfillers for strings, arrays, etc. used by RQuadling's various projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0