Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhiephie/boilerplate-slim3
Boilerplate for getting started with Slim Framework
https://github.com/zhiephie/boilerplate-slim3
boilerplate php slim-framework
Last synced: about 1 month ago
JSON representation
Boilerplate for getting started with Slim Framework
- Host: GitHub
- URL: https://github.com/zhiephie/boilerplate-slim3
- Owner: zhiephie
- Created: 2016-02-26T03:15:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-19T02:48:41.000Z (about 4 years ago)
- Last Synced: 2024-08-02T20:46:44.466Z (4 months ago)
- Topics: boilerplate, php, slim-framework
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 23
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-indo-projects - Boilerplate Slim 3 - Boilerplate for getting started with Slim Framework. (Slim)
- awesome-indonesia-repo - Boilerplate Slim 3 - Boilerplate for getting started with Slim Framework. (Slim)
- awesome-vietnam-repo - Boilerplate Slim 3 - Boilerplate for getting started with Slim Framework. (Slim)
README
# Boilerplate for Slim Framework 3 [![Build Status](https://travis-ci.org/zhiephie/boilerplate-slim3.svg?branch=master)](https://travis-ci.org/zhiephie/boilerplate-slim3) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=purwantoyudi42%40gmail%2ecom&lc=ZA&item_name=Timex%20Studio¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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.