tinymvc / skeleton
TinyMvc is a minimalist PHP framework to craft blazing-fast RESTful APIs and modern web apps.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
pkg:composer/tinymvc/skeleton
Requires
- php: >=8.2
- tinymvc/tinycore: ^2.2
Suggests
- league/commonmark: Required to use Str::markdown() and Stringable::markdown() (^2.6).
- phpmailer/phpmailer: Required for sending emails (^6.9).
- ramsey/uuid: Required to use Str::uuid() (^4.7).
- voku/portable-ascii: Required to use on Str::slug() with non-english strings (^2.0).,
README
A minimalist MVC PHP framework for modern web artisans
Lightning-fast · Elegant Syntax · Developer Friendly
Key Features
- MVC Architecture - Clean separation of concerns
- Lightning Fast - Minimal overhead, maximum performance
- Built-in ORM - Simple ActiveRecord implementation
- Routing System - RESTful routing with parameter binding
- Dependency Injection - Powerful IoC container
- Template Engine - Blade-Like Lightweight, Super Fast Template Engine
- Security First - CSRF protection, Throttling, input sanitization & validation
- Queue - Minimal Queue Jobs up-to 4 workers.
- Cache - Fast & Lightweight Caching System
- CLI Tools - Built-in development server and generator commands
Installation
Create a new project with Composer:
composer create-project tinymvc/skeleton myapp
Start development server:
cd myapp
php spark serve
Production Note: Configure your web server to point to the /public directory.
Quick Start
<?php use Spark\Facades\Route; Route::get('welcome/{name}', function($name) { return "Welcome, $name!"; });
Documentation
Full documentation is available at: https://tinymvc.github.io
Contributing
We welcome contributions! Please:
- ⭐ Star the repository
- 🐞 Report issues here
- 🛠 Submit PRs following our contribution guidelines
License
TinyMVC is open-source software licensed under the MIT License.