Empathy MVC

Getting Started

Create a new project folder and inside a new composer configuration file:

mkdir project; cd project
vim composer.json

Enter the minimal config to include the empathy dependency:

    "require": {
        "mikejw/empathy": "0.9.7"
    "minimum-stability": "dev"

If composer is not installed, install it with standard method:

curl http://getcomposer.org/installer | php

Run composer install and then launch the empathy New App command line helper:

php composer.phar install --prefer-source
php ./vendor/bin/empathy --new_app

Edit the config.yml file so that webroot setting is localhost:8080 and the publicdir setting is blank. Don't worry about the other settings!

Launch PHP's inbuilt development web server:

cd ./public_html
php -S