CoderQiQin521 / php-framework

一款轻量的php框架, 仅作者学习使用, 请勿使用在生产环境

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用此框架搭建的演示站,打开浏览器访问: http://phpframework.makebasis.com/

Open the browser to access the demo station built with this framework: http://phpframework.makebasis.com/

📦 Install

git clone https://github.com/CoderQiQin521/php-framework.git
composer install

⌨️ 部署

  • 运行目录修改为public
  • 修改config/database
  • 配置伪静态, 参考以下

apache

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>

nginx

location / {  
	try_files $uri $uri/ /index.php$is_args$query_string;  
}  

img

Thanks for JetBrains support

About

一款轻量的php框架, 仅作者学习使用, 请勿使用在生产环境

License:Apache License 2.0


Languages

Language:PHP 91.8%Language:HTML 7.1%Language:Hack 0.7%Language:Shell 0.3%Language:CSS 0.1%