浏览代码

Edited README.md

Marc 12 年之前
父节点
当前提交
42e8e822d2
共有 1 个文件被更改,包括 23 次插入0 次删除
  1. 23 0
      README.md

+ 23 - 0
README.md

@@ -0,0 +1,23 @@
+#GearmanBundle for Symfony2
+
+###Installing [GearmanBundle](https://github.com/mmoreram/gearman-bundle)
+You have to add require line into you composer.json file
+
+    "require": {
+        "php": ">=5.3.3",
+        "symfony/symfony": "2.3.*",
+        ...
+        "mmoreram/gearman-bundle": "dev-master"
+    },
+
+Then you have to use composer to update your project dependencies
+
+    php composer.phar update
+
+And register the bundle in your appkernel.php file
+
+    return array(
+        // ...
+        new Mmoreram\GearmanBundle\GearmanBundle(),
+        // ...
+    );