Commit f1be83b2 authored by Marijn Huizendveld's avatar Marijn Huizendveld
Browse files

Add composer configuration.

Install the library using [composer][1]. Add the following to your `composer.json`:

```json
{
    "require": {
        "mathiasverraes/money": "dev-master"
    },
    "minimum-stability": "dev"
}
```

Now run the `install` command.

```sh
$ composer.phar install
```
[1]: http://getcomposer.org
parent ea3ecced
......@@ -3,4 +3,5 @@
.settings
build/
phpunit.xml
_build/
\ No newline at end of file
_build/
vendor
......@@ -17,4 +17,24 @@ you need to represent money, use this Money value object.
The documentation is available at http://money.readthedocs.org
[![Build Status](https://secure.travis-ci.org/mathiasverraes/money.png)](http://travis-ci.org/mathiasverraes/money)
\ No newline at end of file
[![Build Status](https://secure.travis-ci.org/mathiasverraes/money.png)](http://travis-ci.org/mathiasverraes/money)
Installation
------------
Install the library using [composer][1]. Add the following to your `composer.json`:
```json
{
"require": "mathiasverraes/money",
"minimum-stability": "dev"
}
```
Now run the `install` command.
```sh
$ composer.phar install
```
[1]: http://getcomposer.org/
\ No newline at end of file
{
"name": "mathiasverraes/money",
"description": "PHP implementation of Fowler's Money pattern",
"keywords": [ "Money", "Value Object", "Generic Sub-domain" ],
"homepage": "http://blog.verraes.net/2011/04/fowler-money-pattern-in-php/",
"license": "MIT",
"authors": [
{
"name": "Mathias Verraes",
"email": "mathias@verraes.net"
}
],
"autoload": {
"psr-0": {
"Money": "lib"
}
}
}
{
"hash": "8e591e7c8fb9d194105a9d068f2f2e3d",
"packages": [
],
"packages-dev": [
],
"aliases": [
],
"minimum-stability": "stable",
"stability-flags": [
]
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment