百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

php-mvc-framework

> 编程语言
开源

PHP MVC 框架

509 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

PHP MVC 框架

PHP MVC framework

Minimalistic custom framework created for educational purposes.

The framework is not well tested on production. If you use it on production you use it on your own risk.

Related core package: https://github.com/thecodeholic/tc-php-mvc-core


Installation

  1. Download the archive or clone the project using git
  2. Create database schema
  3. Create .env file from .env.example file and adjust database parameters (including schema name)
  4. Run composer install
  5. Run migrations by executing php migrations.php from the project root directory
  6. Go to the public folder
  7. Start php server by running command php -S 127.0.0.1:8080
  8. Open in browser http://127.0.0.1:8080

Installation using docker

Make sure you have docker installed. To see how you can install docker on Windows click here.

Make sure docker and docker-compose commands are available in command line.

  1. Clone the project using git
  2. Copy .env.example into .env (Don't need to change anything for local development)
  3. Navigate to the project root directory and run docker-compose up -d
  4. Install dependencies - docker-compose exec app composer install
  5. Run migrations - docker-compose exec app php migrations.php
  6. Open in browser http://127.0.0.1:8080

The project was created along with Youtube Video Series "Build PHP MVC Framework". I appreaciate if you share it.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPmvc-framework-for-phpphpphp7phpmvc

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言