Bootie
PHP 5 Micro Web Application Framework
Based on Micromvc by David Pennington
This is the Bootie Framework Library, (*1)
You can see an online demo of this project, (*2)
Please consider clone this repository before for an Example Project, (*3)
You can see a REST Example, (*4)
You can also clone a Scheleton Project, (*5)
Improvments
- Dispatching method simplification
- Routing request method based
- Multiple database connections
- Filters
- Speed Cache
- Model pagination
- Flash messages
Install
Create an empty database and set your access credentials here, (*6)
$ cat config/config.sample.php > config/config.php
$ nano config/config.php
With Micro migrations tools run, (*7)
$ php cli create
$ php cli restore
Nginx
Nginx suggested directive, (*8)
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;
}
}