zhiephie / boilerplate-slim3
Boilerplate for getting started with Slim Framework
Installs: 160
Dependents: 0
Suggesters: 0
Security: 0
Stars: 23
Watchers: 4
Forks: 10
Open Issues: 0
Requires
- php: >=5.5.0
- cartalyst/sentinel: ^2.0
- facebook/php-sdk-v4: ^5.1
- illuminate/database: ^5.2
- illuminate/events: ^5.2
- monolog/monolog: ^1.17
- phpmailer/phpmailer: ^5.2
- slim/csrf: ^0.6.0
- slim/flash: ^0.1.0
- slim/http-cache: ^0.3.0
- slim/php-view: ^2.0
- slim/slim: ^3.1
- slim/twig-view: ^2.0
- symfony/http-foundation: ^3.0
This package is auto-updated.
Last update: 2025-03-19 12:16:37 UTC
README
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