Missing PHP language constructs

Installs: 5 413 696

Dependents: 8

Suggesters: 0

Security: 0

Stars: 11

Watchers: 4

Forks: 0

v3.2.2 2023-05-26 05:37 UTC

README

Tests Scrutinizer Code Quality Code Coverage License Latest Stable Version Total Downloads

Missing PHP language constructs

Goals

  • Provide common but missing php classes
  • Objects for native php constructs
  • Consistent API
  • Inspired by java.lang, java.util, String.prototype, Array.prototype and Stringy

Installation

Installation via composer:

composer require phootwork/lang

Documentation

https://phootwork.github.io/lang

Running tests

This package is a part of the Phootwork library. In order to run the test suite, you have to download the full library.

git clone https://github.com/phootwork/phootwork

Then install the dependencies via composer:

composer install

Now, run the lang test suite:

vendor/bin/phpunit --testsuite lang

If you want to run the whole library tests, simply run:

vendor/bin/phpunit

Contact

Report issues at the github Issue Tracker.

Changelog

Refer to Releases