v1/vendor/phootwork/lang
Gdilove 927f32325b 初始化 2023-11-13 20:36:13 +08:00
..
.github/workflows 初始化 2023-11-13 20:36:13 +08:00
inflector 初始化 2023-11-13 20:36:13 +08:00
parts 初始化 2023-11-13 20:36:13 +08:00
.gitignore 初始化 2023-11-13 20:36:13 +08:00
AbstractArray.php 初始化 2023-11-13 20:36:13 +08:00
ArrayObject.php 初始化 2023-11-13 20:36:13 +08:00
Arrayable.php 初始化 2023-11-13 20:36:13 +08:00
Comparable.php 初始化 2023-11-13 20:36:13 +08:00
ComparableComparator.php 初始化 2023-11-13 20:36:13 +08:00
Comparator.php 初始化 2023-11-13 20:36:13 +08:00
LICENSE 初始化 2023-11-13 20:36:13 +08:00
README.md 初始化 2023-11-13 20:36:13 +08:00
StringComparator.php 初始化 2023-11-13 20:36:13 +08:00
Text.php 初始化 2023-11-13 20:36:13 +08:00
composer.json 初始化 2023-11-13 20:36:13 +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