Skip to content

aaasayok/fastD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#FastD PHP Simple Framework

##Requirement

  • PHP 5.5+

##Install

###1. Install composer.json

Composer

###2. Clone FastD repository

git clone git@github.com:JanHuang/fastD.git

###3. Composer install

composer -vvv install

#Tutorial

##Documentation

Documentation

##Rewrite rules

###Swoole Http Server

configuration: app/config/server.php

php app/console http:server start

host:port/pathinfo

###Nginx

server {
    listen 80;
    server_name [server_name];
    root [document_root];
    index (dev|test|prod).php;
    location ~ \.php {
            fastcgi_split_path_info ^(.+.php)(/.*)$;
            fastcgi_param   PATH_INFO $fastcgi_path_info;
            fastcgi_pass 127.0.0.1:9000;
            include fastcgi.conf;
    }
}

###Apache

Nothing

#License MIT

About

PHP Simple Framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.7%
  • ApacheConf 1.6%
  • HTML 0.7%