Skip to content

Commit

Permalink
Merge pull request pheanstalk#77 from webvariants/composer
Browse files Browse the repository at this point in the history
Improved Composer support.
  • Loading branch information
pda committed Jan 9, 2014
2 parents 5028537 + 7f4104b commit 0cdcf3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ implemented.
[1]: http://xph.us/software/beanstalkd/
[2]: http://paul.annesley.cc/
[3]: http://github.com/kr/beanstalkd/tree/v1.3/doc/protocol.txt?raw=true
[4]: http://semver.org/

Installation with Composer
-------------
Expand All @@ -28,11 +27,15 @@ Declare pheanstalk as a dependency in your projects `composer.json` file:
``` json
{
"require": {
"pda/pheanstalk": "dev-master"
"pda/pheanstalk": "$VERSION"
}
}
```

Replace `$VERSION` with one of the stable versions available on
[Packagist](https://packagist.org/packages/pda/pheanstalk) or `2.*@dev` to get
the current development version for the 2.x Pheanstalk API.

Usage Example
-------------

Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"psr-0": {
"Pheanstalk": "classes/"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
}
}

0 comments on commit 0cdcf3f

Please sign in to comment.