Skip to content

A Project base to start working with standard setup: Doctrine / ZF2 / PHPUnit / Vagrant / Phing

Notifications You must be signed in to change notification settings

Paul-PSDigital/ProjectBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectBase

A Project base to start working with standard setup: Doctrine / ZF2 / PHPUnit / Vagrant / Phing

Using Vagrant

First the Vagrant needs to be installed on your machine, with VirtualBox:

It is then required to navigate to tools/vagrant and type: vagrant up

A Virtual Machine will then be configured using puppet as a LAMP server to deliver this project. Changes made in the project will be synched across to the virtual machine.

Setting up the Project

Before the running the project it will be required to run composer. This fetches the dependencies of the project from packagist. This configuration assumes you have composer installed on your machine. Optionally you can download the composer.phar into the base of the directory and run composer.phar install / php composer.phar install

Writing / Running Tests

The phpunit.xml file is provided in the root of the project - please define the test directories within this. A coverage report can be seen on your vagrant host at localhost/coverage-report or browse on your local file system to src/public. Type . ./src/vendor/bin/phpunit or run your locally installed phpunit in the project root to generate this report

About

A Project base to start working with standard setup: Doctrine / ZF2 / PHPUnit / Vagrant / Phing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published