almhdy24/php-mini-mvc 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

almhdy24/php-mini-mvc

Composer 安装命令:

composer create-project almhdy24/php-mini-mvc

包简介

Professional PHP Mini MVC Skeleton

README 文档

README

PHP Composer License

A small and clean PHP MVC skeleton using Composer and PSR-4 autoloading.
Intended as a starting point for simple to medium PHP projects.

Features

  • Basic MVC structure
  • PSR-4 autoloading via Composer
  • Front controller (public/index.php)
  • Simple router
  • Base PDO model
  • Easy to extend

Requirements

  • PHP 8 or higher
  • Composer

Quick Start

git clone https://github.com/yourname/php-mini-mvc.git
cd php-mini-mvc
composer install
composer dump-autoload
php -S localhost:8000 -t public

Open your browser at:

http://localhost:8000

Usage

  • Entry point: public/index.php
  • Controllers: app/Controllers
  • Models: app/Models
  • Views: app/Views
  • Configuration: config/app.php

Purpose

This project is meant to be cloned and adapted.
It avoids heavy abstractions and full frameworks while keeping a clean structure.

License

MIT

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-27