Skip to content
This repository

Support installation with Composer #163

Merged
merged 5 commits into from over 1 year ago

2 participants

Bugbyte William Durand
Bugbyte

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

William Durand willdurand commented on the diff October 01, 2012
composer.json
... ...
@@ -0,0 +1,16 @@
  1
+{
  2
+    "name": "propel/sf-propel-o-r-m-plugin",
3
William Durand Owner

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

Bugbyte
bugbyte added a note October 02, 2012

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

William Durand Owner

ok, nevermind then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
William Durand willdurand merged commit ed8361b into from October 02, 2012
William Durand willdurand closed this October 02, 2012
William Durand
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 5 unique commits by 1 author.

Oct 01, 2012
Added composer.json with symfony1 installer. 678dc54
Fixed wrong dependency 4c78997
Added branch alias 75fc1ff
Added Composer installation instruction e0d0cb1
Changed package name to propel/sf-propel-o-r-m-plugin 7341859
This page is out of date. Refresh to see the latest.

Showing 2 changed files with 30 additions and 0 deletions. Show diff stats Hide diff stats

  1. 14  README.md
  2. 16  composer.json
14  README.md
Source Rendered
@@ -7,6 +7,20 @@ Replaces symfony's core Propel plugin by the latest version of Propel, in branch
7 7
 
8 8
 ## Installation
9 9
 
  10
+### The Composer way
  11
+
  12
+Add the require to your composer.json. It's oddly named but like this Composer's symfony1 installer camelcases it correctly.
  13
+Composer will install it into your project's plugins directory automatically, and add the requirements.
  14
+
  15
+    {
  16
+        "config": {
  17
+            "vendor-dir": "lib/vendor"
  18
+        },
  19
+        "require": {
  20
+            "propel/sf-propel-o-r-m-plugin": "dev-master"
  21
+        }
  22
+    }
  23
+
10 24
 ### The Git way
11 25
 
12 26
 Clone the plugin from Github:
16  composer.json
... ...
@@ -0,0 +1,16 @@
  1
+{
  2
+    "name": "propel/sf-propel-o-r-m-plugin",
  3
+    "type": "symfony1-plugin",
  4
+    "description": "symfony 1.x plugin for Propel.",
  5
+    "keywords": ["symfony", "propel", "orm", "active record", "mapping", "database", "persistence"],
  6
+    "homepage": "http://www.propelorm.org/",
  7
+    "require": {
  8
+        "composer/installers": "*",
  9
+        "propel/propel1": "1.6.*"
  10
+    },
  11
+    "extra": {
  12
+        "branch-alias": {
  13
+            "dev-master": "1.5-dev"
  14
+        }
  15
+    }
  16
+}
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.