Skip to content

goodby/immutable-datetime

Repository files navigation

ImmutableDatetime

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".

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published