explt13/nosmi
最新稳定版本:1.1.25
Composer 安装命令:
composer create-project explt13/nosmi
包简介
A lightweight MVC framework
关键字:
README 文档
README
Nosmi is a minimal and lightweight PHP framework designed for rapid development and prototyping of small to medium-scale web applications.
🚀 Features
- Clean and simple project structure
- Follows the MVC (Model-View-Controller) pattern
- Minimal dependencies
- Easy to understand and extend
- Great for learning or building small apps quickly
📦 Installation
You can install Nosmi via Composer:
composer create-project explt13/nosmi my-app
Installation via Script
- Download and install nosmi from this repository.
- Add it to your system's PATH.
- Run the following command:
nosmi init
This will initialize the project structure and install the required dependencies.
🗂 Project Structure
my-app/
├── bin/
├── public/
├── index.php
├── .htaccess
└── ...
├── src/
├── models
├── controllers
├── render
├── views
├── errors
└── ...
└── layouts
└── ...
├── tests/
├── composer.json
└── ...
🧱 Basic Usage
public/index.php
require_once __DIR__ . '/../vendor/autoload.php';
use Nosmi\App;
$app = (new App())
->bootstrap(config_path)
->run();
📄 License
This project is licensed under the MIT License.
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-10