Skip to content

jasonshaw/LuckyPHP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LuckyPHP

Overview

LuckyPHP is a light and fast PHP framework. It helps you to build a website easily.

You can use Composer to update the vendor. Take it easy if do not know about Composer. It still work best without Composer. We normally provide the base vendor. Just download it.

Visit the Project Homepage to get more information or QA on the forum.

Download

Version Update Time
Latest Now

Composer Install

{
    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:ShareAny/LuckyPHP.git"
        },
        {
            "type": "composer",
            "url": "http://packagist.phpcomposer.com"
        },
        {
            "packagist": false
        }
    ],
    "require": {
        "shareany/luckyphp": "dev-master"
    }
}

URL Rewrite

Apache

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

Nginx

location / {
    index index.html index.htm index.php;
    if (!-e $request_filename){
        rewrite ^/(.*)$ /index.php/$1 last;
    }
}
location ~ \.php {
    fastcgi_pass unix:/var/run/php5-fpm.sock;
    fastcgi_index index.php;
    fastcgi_split_path_info ^(.+\.php)(.*)$;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
}

Folder

Folder Function
application Application
public Public File
system LuckyPHP Framework
vendor Vendor by Composer

Author

Author Identity Social
Candison November Creator Website Github

Plan

  • Http::Get
  • Http::Post
  • Mail
  • Upload
  • File
  • Log
  • Cache
  • Redis
  • Mongodb

About

LuckyPHP is a light and fast PHP framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.9%
  • HTML 17.8%
  • ApacheConf 0.3%