Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

jakzal/phpnw15-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loose coupling in practice (PHPNW 2015)

Requirements

You'll also need git to clone the repository and save your progress during the workshop.

Setting up

Clone the repository:

git clone git@github.com:jakzal/phpnw15-workshop.git
cd phpnw15-workshop

Run the following setup command and make sure it finishes with no errors:

php setup.php

It's safe to run it multiple times.

Run the tests to make sure the app works fine:

./bin/phpunit -c app

Please set it up as soon as possible, and let me know if there's any issues (my e-mail can be found in composer.json).

A day before the workshop, please pull the latest version of the repository and run the setup script again:

git pull
php setup.php
./bin/phpunit -c app

Starting the web server

To simplify the setup, we won't use a real web server during the workshop. The one built into PHP will work just fine. You can start it with a Symfony command:

php app/console server:run