explt13 / nosmi
A lightweight MVC framework
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.3.6
- kriswallsmith/buzz: ^1.3
- nyholm/psr7: ^1.8
- phpmailer/phpmailer: ^6.10
- predis/predis: ^3.0
- psr/http-message: ^2.0
- psr/http-server-middleware: ^1.0
- symfony/console: ^7.2
- vlucas/phpdotenv: ^5.6
Requires (Dev)
- phpunit/phpunit: ^12.0
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.