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": "dev-develop"
    "minimum-stability": "dev"

If composer is not installed, install it with instructions at https://getcomposer.org/download/:

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