daveh/php-mvc
关于
一个简单的 PHP 模型-视图-控制器框架,作为 Udemy 课程《像专业人士一样编写 PHP:从零构建 MVC 框架》的一部分,按步骤构建。
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Welcome to the PHP MVC Framework
This is a simple MVC framework for building web applications in PHP. It's free and open-source.
It was created for the Write PHP Like a Pro: Build an MVC Framework from Scratch course.
That course explains how the framework is put together, building it step-by-step, from scratch. If you've taken the course, then you'll already know how to use it.
If not, please look at the example code in the config and src/App folders for examples of how to use it.
DISCLAIMER
This framework was developed as a teaching example on the aforementioned course. The idea is that by developing this framework on that course, you'll understand how frameworks like Laravel work. No warranty is provided. For more details please see the licence.
Starting an Application using this Framework
- First, download the framework, either directly or by cloning the repo.
- Configure your web server to have the public folder as the web root.
- Make a copy of the .env.example file and call it .env, and enter your database configuration data.
- Create routes, controllers, views, models, middleware etc.
Build This Framework From Scratch
Signup for the course here and understand how this framework is built from scratch, putting it all together step by step.
探索相关项目
加载中…