payroll_manager/api-payroll
Jose Pabl Domingo Aramburo Sanchez 839be59ac5 [fix] Middleware unloaded from tests
One of the middlewares depends on settings and isn't correctly loaded in the tests
2018-08-16 01:29:43 -06:00
..
docker [mod] Config files moved to a directory 2018-08-12 01:06:40 +00:00
logs [add] Empty log file with permisions 2018-08-10 03:51:17 +00:00
public [add] In system validation for session 2018-08-16 01:18:44 -06:00
src [add] In system validation for session 2018-08-16 01:18:44 -06:00
templates [add] Slim skeleton 2018-08-04 18:01:48 -06:00
tests/Functional [fix] Middleware unloaded from tests 2018-08-16 01:29:43 -06:00
.dockerignore [add] Docker ignore for php 2018-08-08 07:32:54 +00:00
.gitignore [add] Ignoring ide settings 2018-08-04 18:29:49 -06:00
.htaccess [add] Access config 2018-08-12 01:43:37 +00:00
buildspec.yml [add] Testing the docker build in CI 2018-08-08 07:41:29 +00:00
composer.json [add] Setting up the middleware 2018-08-15 23:41:01 -06:00
composer.lock [add] Setting up the middleware 2018-08-15 23:41:01 -06:00
CONTRIBUTING.md [add] Slim skeleton 2018-08-04 18:01:48 -06:00
docker-compose.yml [add] Slim skeleton 2018-08-04 18:01:48 -06:00
Dockerfile [mod] Config files moved to a directory 2018-08-12 01:06:40 +00:00
phpunit.xml [add] Slim skeleton 2018-08-04 18:01:48 -06:00
README.md [add] Slim skeleton 2018-08-04 18:01:48 -06:00

Slim Framework 3 Skeleton Application

Use this skeleton application to quickly setup and start working on a new Slim Framework 3 application. This application uses the latest Slim 3 with the PHP-View template renderer. It also uses the Monolog logger.

This skeleton application was built for Composer. This makes setting up a new Slim Framework application quick and easy.

Install the Application

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

php composer.phar create-project slim/slim-skeleton [my-app-name]

Replace [my-app-name] with the desired directory name for your new application. You'll want to:

  • Point your virtual host document root to your new application's public/ directory.
  • Ensure logs/ is web writeable.

To run the application in development, you can run these commands

cd [my-app-name]
php composer.phar start

Run this command in the application directory to run the test suite

php composer.phar test

That's it! Now go build something cool.