https://github.com/liebsen/bootierest
Tiny MVC PHP Framework REST Project Example
https://github.com/liebsen/bootierest
Last synced: about 1 month ago
JSON representation
Tiny MVC PHP Framework REST Project Example
- Host: GitHub
- URL: https://github.com/liebsen/bootierest
- Owner: liebsen
- License: agpl-3.0
- Created: 2015-10-06T23:32:58.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-11-30T17:46:27.000Z (over 9 years ago)
- Last Synced: 2025-01-01T14:11:38.355Z (over 1 year ago)
- Language: PHP
- Size: 279 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Bootie
PHP 5 Micro Web Application Framework
Based on Micromvc by David Pennington
This is a Bootie Framework REST Example Project
You can see an online demo of this project
You can see an Integrated Example Project
You can see a REST Example Project
You can also clone a Scheleton Project
Improvements
- Dispatching method simplification
- Routing request method based
- Multiple database connections
- Filters
- Speed Cache
- Model pagination
- Flash messages
Install
Pull libraries
$ composer install
Create an empty database and set your access credentials here
$ cat config/config.sample.php > config/config.php
$ nano config/config.php
With Micro migrations tools run
$ php cli create
$ php cli restore
Nginx
Nginx suggested directive
server {
root /var/www/bootie/public;
index index.php index.html index.htm;
server_name bootie.local;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
}
Now you can login
username: admin
password: admin