dave1010/php-empty

Empty project to get started with PHP

Installs: 103

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Type:project

v0.1.1 2015-04-15 08:07 UTC

This package is not auto-updated.

Last update: 2024-05-11 15:29:47 UTC


README

Usage

Setup

composer create-project dave1010/php-empty

Running tests

./vendor/bin/phpunit

You can also run ./tdd.sh to watch PHP files and run PHPUnit automatically whenever there are changes

Running specs

./vendor/bin/phpspec run

./vendor/bin/behat

Serving web content (from the project root)

php -S localhost:8000 -t web/

Console app

./console.php

Structure

src - classes
tests - test classes
spec - spec classes
features - Behat features
web - web root