Skip to content

Instantly share code, notes, and snippets.

@ceeram
Forked from josegonzalez/readme.md
Created January 6, 2012 21:19
Show Gist options
  • Save ceeram/1572450 to your computer and use it in GitHub Desktop.
Save ceeram/1572450 to your computer and use it in GitHub Desktop.
Example Readme for CakePHP plugins that use MIT license

[PLUGIN NAME] Plugin

[ONE LINE DESCRIPTION OF PROJECT]

Background

[A PARAGRAPH DESCRIBING WHY YOU BUILT THIS]

[ANOTHER PARAGRAPH DESCRIBING YOUR IMPETUS FOR RELEASING THIS]

Requirements

  • [PHP_VERSION REQUIREMENT]
  • [CAKEPHP_VERSION REQUIREMENT]
  • [REQUIRED PLUGINS]
  • [OTHER EXTERNAL DEPENDENCIES]
  • [SNARKY COMMENT HERE]

Installation

[Manual]

  1. Download this: http://github.com/[GITHUB_USERNAME]/[REPOSITORY_NAME]/zipball/master
  2. Unzip that download.
  3. Copy the resulting folder to app/plugins
  4. 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]

Usage

[EXAMPLE ON HOW TO SETUP YOUR PLUGIN]

[PARAGRAPH EXPLAINING DIFFERENT WAYS TO CONFIGURE THE PLUGIN]

Options

  1. [ONE OPTION] : [OPTION EXPLANATION]
  2. [ANOTHER OPTION] : [OPTION EXPLANATION]
  3. [YET ANOTHER OPTION]
    1. [VALID PARAMETER]
    2. [ANOTHER VALID PARAMETER]

Todo

  • [TODO ITEM]
  • [ANOTHER ITEM]
  • [COMPLETED ITEM]

License

Copyright © [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.

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