php/skeleton

Generic PHP.Skeleton package

Installs: 879

Dependents: 0

Stars: 56

Watchers: 9

Forks: 12

Open Issues: 0

0.6.2 2015-12-21 08:36 UTC

README

A standard PHP project skeleton

This project was created in order to provide project skeleton to start new PHP project. Various config files are ready for continuous integration.

Requirements

  • PHP 5.3+

Getting started

Create project

$ composer create-project php/skeleton {Vendor.Package}
$ cd {Vendor.Package}
$ phpunit

CI - Using ant

Install

Linux - Installing Apache Ant

OSX

$ port install apache-ant // by mac ports
$ brew install ant // by brew

Windows - https://code.google.com/p/winant/

Prepare

Install QA(Quality Assurance) tools
$ ant require
Export composer bin path
export PATH="$HOME/.composer/vendor/bin:$PATH"

Run

$ ant test    // run test
$ ant report  // output API and QA docs

$ ant         // all (require, test, report)