MTShop/code/vendor/phootwork/lang
Gdilove c391965547 update config 2023-11-17 01:10:57 +08:00
..
.github/workflows update config 2023-11-17 01:10:57 +08:00
inflector update config 2023-11-17 01:10:57 +08:00
parts update config 2023-11-17 01:10:57 +08:00
.gitignore update config 2023-11-17 01:10:57 +08:00
AbstractArray.php update config 2023-11-17 01:10:57 +08:00
ArrayObject.php update config 2023-11-17 01:10:57 +08:00
Arrayable.php update config 2023-11-17 01:10:57 +08:00
Comparable.php update config 2023-11-17 01:10:57 +08:00
ComparableComparator.php update config 2023-11-17 01:10:57 +08:00
Comparator.php update config 2023-11-17 01:10:57 +08:00
LICENSE update config 2023-11-17 01:10:57 +08:00
README.md update config 2023-11-17 01:10:57 +08:00
StringComparator.php update config 2023-11-17 01:10:57 +08:00
Text.php update config 2023-11-17 01:10:57 +08:00
composer.json update config 2023-11-17 01:10:57 +08:00

README.md

phootwork/lang

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