Created
October 3, 2012 11:33
-
-
Save junichi11/3826498 to your computer and use it in GitHub Desktop.
Composer template for CakePHP Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "vendor/plugin_name", | |
"type": "cakephp-plugin", | |
"description": "Moge Plugin for CakePHP", | |
"keywords": ["cakephp","moge"], | |
"homepage": "https://github.com/yousername/your_plugin", | |
"license": "MIT", | |
"authors": [ | |
{ | |
"name": "hoge moge", | |
"email": "[email protected]" | |
} | |
], | |
"require": { | |
"composer/installers": "*" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"vendor/plugin_name": "dev-master", | |
"vendor2/hoge": "dev-master", | |
"junichi/moge": "dev-master" | |
}, | |
"config": { | |
"vendor-dir": "Vendor" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": [ | |
{ | |
"type":"package", | |
"package": { | |
"type" : "cakephp-plugin", | |
"name" : "cakephp/search", | |
"version" : "2.1", | |
"dist": { | |
"url": "https://github.com/CakeDC/search/zipball/2.1", | |
"type": "zip" | |
}, | |
"require":{ | |
"composer/installers": "*" | |
} | |
}, | |
"packagist": false | |
} | |
], | |
"require": { | |
"cakephp/search": "*", | |
}, | |
"config": { | |
"vendor-dir": "Vendor" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": [ | |
{ | |
"type":"package", | |
"package": { | |
"type" : "cakephp-plugin", | |
"name" : "cakephp/debug_kit", | |
"version" : "2.2.0", | |
"source": { | |
"url": "git://github.com/cakephp/debug_kit.git", | |
"type": "git", | |
"reference": "master" | |
}, | |
"require":{ | |
"composer/installers": "*" | |
} | |
}, | |
"packagist": false | |
}, | |
], | |
"require": { | |
"cakephp/debug_kit": "*", | |
}, | |
"config": { | |
"vendor-dir": "Vendor" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment