2017 © Pedro Peláez
 

library types

Near natural implementation of PHP built-in types. Inspired by Ruby.

image

dice/types

Near natural implementation of PHP built-in types. Inspired by Ruby.

  • Thursday, July 26, 2018
  • by vaibhav-kaushal
  • Repository
  • 2 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Dice\Types

Dice\Types (just Types hereafter) is a PHP package which attempts to make PHP native types (Strings, Arrays, Integers etc.) behave more naturally using Object Oriented approach. The inspiration for functionality is taken from that of Ruby types., (*1)

Installation

Installation is by using composer. Add the following lines in the require section of your composer.json file, (*2)

"dice/types": "dev-master"

And then run composer install, (*3)

NOTE: Types is still in beta. Proceed with caution, (*4)

Testing

Download the repo, run composer install to install the dependencies and then run vendor/bin/phpunit tests to run the tests. If something fails, please let us know., (*5)

IMPORTANT: Only the Str type tests are available., (*6)

Available Types

  1. String

The Versions

26/07 2018

dev-master

9999999-dev

Near natural implementation of PHP built-in types. Inspired by Ruby.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Vaibhav Kaushal

array string integer