php/skeleton

Generic PHP.Skeleton package

Installs: 711

Dependents: 0

Stars: 45

Watches: 8

Forks: 6

Language: PHP

0.5.1 2015-05-23 13:19 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)