https://github.com/bramus/php-datatypes
A (Legacy) Types Implementation for PHP
https://github.com/bramus/php-datatypes
Last synced: 3 months ago
JSON representation
A (Legacy) Types Implementation for PHP
- Host: GitHub
- URL: https://github.com/bramus/php-datatypes
- Owner: bramus
- License: mit
- Created: 2022-03-04T15:09:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-29T14:51:29.000Z (about 4 years ago)
- Last Synced: 2024-12-31T05:25:41.094Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `bramus/datatypes`
[](https://github.com/bramus/php-datatypes/actions) [](https://github.com/bramus/php-datatypes) [](https://packagist.org/packages/bramus/datatypes) [](https://packagist.org/packages/bramus/datatypes/stats) [](https://github.com/bramus/php-datatypes/blob/master/LICENSE)
`bramus/datatypes` is a (Legacy) Types Implementation for PHP.
Built by Bram(us) Van Damme _([https://www.bram.us](https://www.bram.us))_ and [Contributors](https://github.com/bramus/php-datatypes/graphs/contributors)
## Prerequisites/Requirements
- PHP 7.2 or greater
## Installation
Installation is possible using Composer
```
$ composer require bramus/datatypes ~1.0
```
## Usage
@TODO
## Utility Classes
`bramus/datatypes` comes with a few utility/helper classes. Whilst you most likely don't need to use these directly, they might be of help:
@TODO
## Testing
`bramus/datatypes` ships with unit tests using [PHPUnit](https://github.com/sebastianbergmann/phpunit/) `~8.0`.
- If PHPUnit is installed globally run `phpunit` to run the tests.
- If PHPUnit is not installed globally, install it locally throuh composer by running `composer install --dev`. Run the tests themselves by calling `./vendor/bin/phpunit` or using the composer script `composer test`
```
$ composer test
```
## License
`bramus/datatypes` is released under the MIT public license. See the enclosed `LICENSE` for details.