Skip to content

cokadev/slim-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slim starter kit

A Slim framework 3 starter kit.

How to use ?

  • Clone this project
git clone https://github.com/cokadev/slim-starter-kit.git
cd slim-starter-kit
  • Install dependencies with composer
composer install
  • Start localhost web server, assuming ./public/ is public-accessible directory with index.php file:
php -S localhost:8888 -t public public/index.php

You will see "Hello World!".

Scripts

  • PHPCS : configured for PSR-2
composer test:phpcs
  • PHPCBF : Fix PSR-2 violations automatically
composer fix:phpcbf