Skip to content

Commit

Permalink
Merge pull request propelorm#163 from bugbyte/master
Browse files Browse the repository at this point in the history
Support installation with Composer
  • Loading branch information
willdurand committed Oct 2, 2012
2 parents 67a3936 + 7341859 commit ed8361b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -7,6 +7,20 @@ Replaces symfony's core Propel plugin by the latest version of Propel, in branch

## Installation

### The Composer way

Add the require to your composer.json. It's oddly named but like this Composer's symfony1 installer camelcases it correctly.
Composer will install it into your project's plugins directory automatically, and add the requirements.

{
"config": {
"vendor-dir": "lib/vendor"
},
"require": {
"propel/sf-propel-o-r-m-plugin": "dev-master"
}
}

### The Git way

Clone the plugin from Github:
Expand Down
16 changes: 16 additions & 0 deletions composer.json
@@ -0,0 +1,16 @@
{
"name": "propel/sf-propel-o-r-m-plugin",
"type": "symfony1-plugin",
"description": "symfony 1.x plugin for Propel.",
"keywords": ["symfony", "propel", "orm", "active record", "mapping", "database", "persistence"],
"homepage": "http://www.propelorm.org/",
"require": {
"composer/installers": "*",
"propel/propel1": "1.6.*"
},
"extra": {
"branch-alias": {
"dev-master": "1.5-dev"
}
}
}

0 comments on commit ed8361b

Please sign in to comment.