bramus/datatypes

A (Legacy) Types Implementation for PHP

Fund package maintenance!
bramus

1.1 2022-03-29 14:46 UTC

This package is auto-updated.

Last update: 2024-10-29 06:13:14 UTC


README

Build Status Source Version Downloads License

bramus/datatypes is a (Legacy) Types Implementation for PHP.

Built by Bram(us) Van Damme (https://www.bram.us) and 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 ~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.