bootie / scheleton
Bootie PHP 5 Framework Project Scheleton
dev-master
2016-02-05 16:44 UTC
Requires
- php: >=5.3.0
- bootie/bootie: dev-master
This package is not auto-updated.
Last update: 2024-05-25 16:23:02 UTC
README
PHP 5 Micro Web Application Framework
Based on Micromvc by David Pennington
This is a Bootie Framework Scheleton Project
You can see an online demo of this project here
You can see an Integrated Example Project
You can also clone a REST Project Example
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