goodby/immutable-datetime

1.0.0 2013-05-09 05:05 UTC

This package is auto-updated.

Last update: 2024-10-06 08:16:31 UTC


README

Build Status

What is ImmutableDatetime?

This is a imutable datetime library.

Requirements

  • PHP 5.4

Installation

Install composer in your project:

curl -s http://getcomposer.org/installer | php

Create a composer.json file in your project root:

{
    "require": {
        "goodby/immutable-datetime": "*"
    }
}

Install via composer:

php composer.phar install

License

ImmutableDatetime is open-sourced software licensed under the MIT License - see the LICENSE file for details

Documentation

See unit test.

Contributing

Checkout master source code from github:

hub clone goodby/immutable-datetime

Install develpment components via composer:

# If you don't have composer.phar
./scripts/bundle-devtools.sh .

# If you have composer.phar
composer.phar install --dev

Unit Testing

We works under test driven development.

Run phpunit:

./vendor/bin/phpunit

Coding Standard

We follows coding standard PSR-2.

Check if your codes follows PSR-2 by phpcs:

./vendor/bin/phpcs --standard=PSR2 src/

Acknowledgement

This project was automatically generated by "Goodby Setup".