lvis/slim3app

A Slim 3 Framework skeleton application

dev-master 2017-10-08 21:06 UTC

This package is not auto-updated.

Last update: 2024-04-27 00:49:00 UTC


README

A Slim 3 application was built for Composer and makes setting up a new application quick and easy. This application uses the latest Slim 3 with the PHP-View template renderer. It also uses the Monolog logger.

Install the Application

Run this command from the directory in which you want to install your new application.

php composer.phar create-project lvis/slim3app [app-name]
  • Replace [app-name] with the desired directory name for your new application.
  • Ensure logs/ and templates/cache are web writeable.

You can run application in development with this command:

php -S localhost:8080 index.php

or composer one:

php composer.phar start

Run this command to run the test suite

php composer.phar test