Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Support installation with Composer #163

Merged
merged 5 commits into from

2 participants

@bugbyte

You may want to rename "dev-master" in the readme.

@willdurand willdurand commented on the diff
composer.json
@@ -0,0 +1,16 @@
+{
+ "name": "propel/sf-propel-o-r-m-plugin",
@willdurand Owner

Could you name it: propel/sf-propel-orm-plugin ?

@bugbyte
bugbyte added a note

There's one problem with that: the plugin will become sfPropelOrmPlugin instead of sfPropelORMPlugin.

@willdurand Owner

ok, nevermind then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@willdurand willdurand merged commit ed8361b into from
@willdurand
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 1, 2012
  1. Added composer.json with symfony1 installer.

    Bert-Jan de Lange authored
  2. Fixed wrong dependency

    Bert-Jan de Lange authored
  3. Added branch alias

    Bert-Jan de Lange authored
  4. Added Composer installation instruction

    Bert-Jan de Lange authored
This page is out of date. Refresh to see the latest.
Showing with 30 additions and 0 deletions.
  1. +14 −0 README.md
  2. +16 −0 composer.json
View
14 README.md
@@ -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:
View
16 composer.json
@@ -0,0 +1,16 @@
+{
+ "name": "propel/sf-propel-o-r-m-plugin",
@willdurand Owner

Could you name it: propel/sf-propel-orm-plugin ?

@bugbyte
bugbyte added a note

There's one problem with that: the plugin will become sfPropelOrmPlugin instead of sfPropelORMPlugin.

@willdurand Owner

ok, nevermind then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ "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"
+ }
+ }
+}
Something went wrong with that request. Please try again.