forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
60 lines
1.9 KiB
Markdown
60 lines
1.9 KiB
Markdown
# phootwork/lang
|
|
|
|

|
|
[](https://scrutinizer-ci.com/g/phootwork/phootwork/?branch=master)
|
|
[](https://scrutinizer-ci.com/g/phootwork/phootwork/?branch=master)
|
|
[](https://packagist.org/packages/phootwork/lang)
|
|
[](https://packagist.org/packages/phootwork/lang)
|
|
[](https://packagist.org/packages/phootwork/lang)
|
|
|
|
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`](https://github.com/danielstjules/Stringy)
|
|
|
|
## Installation
|
|
|
|
Installation via composer:
|
|
|
|
```
|
|
composer require phootwork/lang
|
|
```
|
|
|
|
## Documentation
|
|
|
|
[https://phootwork.github.io/lang](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](https://github.com/phootwork/phootwork/issues).
|
|
|
|
## Changelog
|
|
|
|
Refer to [Releases](https://github.com/phootwork/phootwork/releases) |