Skip to content

Instantly share code, notes, and snippets.

@iods
Created July 27, 2016 07:06
Show Gist options
  • Save iods/b8306a41922e22bd72bc94f80589e8c6 to your computer and use it in GitHub Desktop.
Save iods/b8306a41922e22bd72bc94f80589e8c6 to your computer and use it in GitHub Desktop.
Standards of PHP Development
<?php
/* Source File Headers
*--------------------------------------------------*/
/**
* A Darkstar Project : Namespace with API or Component
*
* PHP version 5.x
*
* @api
* @license OSL-3.0
*
* @filesource
*/
/* Functions and Classes
*--------------------------------------------------*/
/**
* A Darkstar Project : Function or Class Name
*
* This is a description that discusses usage within the
* project scope and includes any important details necessary
* for this function or class. Optional, but recommended.
*
* Include full description of error info
* -> state of object if exception is thrown
* -> best practices of class
* -> @example path description
*
* @package Darkstar
* @subpackage Is_There_One?
*
* @author A Darkstar <darkstardevelopment@gmail>
* @copyright (c) 2016 Rye Miller
* @license https://opensource.org/licenses/OSL-3.0
* @version 0.1.0 The initial development release.
*
* @link https://bitbucket.org/thedrkstr/docs Docs for Darkstar
* @see Class/Function/Method How they work togeher
* @since 0.1.0
*/
/* Class Properties
*--------------------------------------------------*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment