[ONE LINE DESCRIPTION OF PROJECT]
[A PARAGRAPH DESCRIBING WHY YOU BUILT THIS]
[ANOTHER PARAGRAPH DESCRIBING YOUR IMPETUS FOR RELEASING THIS]
- [PHP_VERSION REQUIREMENT]
- [CAKEPHP_VERSION REQUIREMENT]
- [REQUIRED PLUGINS]
- [OTHER EXTERNAL DEPENDENCIES]
- [SNARKY COMMENT HERE]
[Using Composer]
Add the plugin to your project's composer.json
- something like this:
{
"require": {
"[GITHUB_USERNAME]/[REPOSITORY_NAME]": "[VERSION]"
}
}
Because this plugin has the type cakephp-plugin
set in it's own composer.json
, composer knows to install it inside your /Plugins
directory, rather than in the usual vendors file. It is recommended that you add /Plugins/[PLUGIN_NAME]
to your .gitignore file. (Why? read this.)
[Manual]
- Download this: http://github.com/[GITHUB_USERNAME]/[REPOSITORY_NAME]/zipball/master
- Unzip that download.
- Copy the resulting folder to app/plugins
- Rename the folder you just copied to @[PLUGIN_NAME]@
[GIT Submodule]
In your app directory type:
git submodule add git://github.com/[GITHUB_USERNAME]/[REPOSITORY_NAME].git plugins/[PLUGIN_NAME]
git submodule init
git submodule update
[GIT Clone]
In your plugin directory type
git clone git://github.com/[GITHUB_USERNAME]/[REPOSITORY_NAME].git [PLUGIN_NAME]
[EXAMPLE ON HOW TO SETUP YOUR PLUGIN]
[PARAGRAPH EXPLAINING DIFFERENT WAYS TO CONFIGURE THE PLUGIN]
- [ONE OPTION] : [OPTION EXPLANATION]
- [ANOTHER OPTION] : [OPTION EXPLANATION]
- [YET ANOTHER OPTION]
- [VALID PARAMETER]
- [ANOTHER VALID PARAMETER]
- [TODO ITEM]
- [ANOTHER ITEM]
- -[COMPLETED ITEM]-
Copyright (c) [CURRENT_YEAR] [YOUR_NAME]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
nice readme, thanks ! Just the part with composer installation and
plugins/
folder may need to be changed as composer will now install plugins invendor/
folder.Perhaps something like :