Permalink
Browse files

Added Composer support.

  • Loading branch information...
1 parent a5db8c0 commit adccbf3d65950243ac868bdde5b377ba468ddabc @renan renan committed Nov 19, 2012
Showing with 50 additions and 0 deletions.
  1. +16 −0 README.md
  2. +34 −0 composer.json
View
@@ -18,6 +18,22 @@ The master branch has the following requirements:
* Set debug mode to at least 1.
* Make sure to remove the 'sql_dump' element from your layout if you want to experience the awesome that is the debug kit SQL log.
+### Using Composer
+
+Ensure both `require` and `installer-paths` are in `composer.json`:
+
+```
+{
+ "require": {
+ "cakephp/debug_kit": "2.2.*"
+ },
+ "extra": {
+ "installer-paths": {
+ "app/Plugin/DebugKit/": ["cakephp/debug_kit"]
+ }
+ }
+}
+```
## Reporting issues
View
@@ -0,0 +1,34 @@
+{
+ "name": "cakephp/debug_kit",
+ "description": "CakePHP Debug Kit",
+ "type": "cakephp-plugin",
+ "keywords": ["cakephp", "debug", "kit"],
+ "homepage": "https://github.com/cakephp/debug_kit",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Mark Story",
+ "homepage": "http://mark-story.com",
+ "role": "Author"
+ },
+ {
+ "name": "CakePHP Community",
+ "homepage": "https://github.com/cakephp/debug_kit/graphs/contributors"
+ }
+ ],
+ "support": {
+ "issues": "http://cakephp.lighthouseapp.com/projects/42880-debug-kit/overview",
+ "forum": "http://ask.cakephp.org",
+ "irc": "irc://irc.freenode.org/cakephp",
+ "source": "https://github.com/cakephp/debug_kit"
+ },
+ "require": {
+ "php": ">=5.3.0",
+ "composer/installers": "*"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.2.x-dev"
+ }
+ }
+}

0 comments on commit adccbf3

Please sign in to comment.