定制 marrrkkk/mvcore 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

marrrkkk/mvcore

最新稳定版本:1.0.0

Composer 安装命令:

composer create-project marrrkkk/mvcore

包简介

A simple PHP framework for learning purposes.

README 文档

README

MVCore is a lightweight PHP MVC framework designed for beginners to learn and understand MVC (Model-View-Controller) architecture. It provides a simple yet powerful structure for building web applications while maintaining clean code organization.

Features

  • Simple MVC Architecture
  • Lightweight and Fast
  • Easy to Learn
  • Database Migration System
  • Built-in CLI Tool

Requirements

  • PHP 8.0 or higher
  • MySQL 5.7 or higher
  • Composer

Installation

composer create-project marrrkkk/mvcore myapp
cd myapp

Usage

php mvcore serve

Create a new controller

php mvcore make:controller ControllerName

Create a new model

php mvcore make:model ModelName

Create a new migration

php mvcore make:migration create_table_name

Run migrations

php mvcore migrate up [migration_name]

Rollback migration

php mvcore migrate down [migration_name]

Configuration

DB_HOST=localhost
DB_PORT=3306
DB_NAME=your_database
DB_USER=root
DB_PASSWORD=
DB_CHARSET=utf8mb4

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MVCore is open-sourced software licensed under the MIT license.

Support

For support, please create an issue in the GitHub repository.

This framework is designed for educational purposes and basic web applications. While it's production-capable, consider using more established frameworks like Laravel for large-scale applications.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-21