Boilerplate for getting started with Slim Framework
Switch branches/tags
Nothing to show
Clone or download
Latest commit f6b8d28 Apr 23, 2018
Permalink
Failed to load latest commit information.
app update typo Mar 3, 2016
components Update SubscribeForm.php Oct 25, 2016
config remove app_id & app_secret 👯 Feb 26, 2016
public Update .htaccess Apr 20, 2016
storage add .travis.yml Feb 26, 2016
tests Move to tests Oct 25, 2016
.gitignore Add Repositories & Services Mar 3, 2016
.travis.yml WIP Oct 25, 2016
README.md Update README.md Apr 23, 2018
composer.json style Oct 26, 2016
composer.lock update using facebook/graph-sdk Oct 26, 2016
migrate structure architecture Feb 26, 2016

README.md

Boilerplate for Slim Framework 3 Build Status Donate

Boilerplate for getting started with Slim Framework

Use this skeleton application to quickly setup and start working on a new Slim Framework 3 application. This application uses the latest Slim 3.

Requirements:

  • PHP 5.5 or newer
  • PDO PHP Extension

Features

  • PHP View
  • Twig Template Engine
  • Eloquent Laravel
  • Sentinel Authentication provider
  • Include SDK Facebook
  • Logger Monolog
  • AdminLTE soon
1 Manual Install

You can manually install by cloning this repo or download the zip file from this repo, and run composer install.

$ git clone https://github.com/zhiephie/boilerplate-slim3.git
$ composer install
2 Alternative install via composer
$ composer create-project --no-interaction --stability=dev zhiephie/boilerplate-slim3 [folder-name]
3 Setup Permission

After composer finished install the dependencies, you need to change file and folder permission.

$ chmod -R 777 storage
$ chmod 666 config/database.php
4 Configuration Database and Setting App

Configuration file located in config, edit the database.php, setting.php

5 Run php migrate
$ php migrate
6 Run Server php -S localhost:8000 -t public
$ php -S localhost:8000 -t public

That's it! Now go build something cool.