tinymvc / skeleton
TinyMvc is a minimalist PHP framework to craft blazing-fast RESTful APIs and modern web apps.
Requires
- php: >=8.2
- tinymvc/tinycore: ^4.0
Requires (Dev)
None
Suggests
- ext-curl: Required for the HTTP client.
- ext-fileinfo: Required for upload and file MIME detection.
- ext-gd: Required for image manipulation.
- ext-pdo_sqlite: Required when the database connection uses SQLite.
- ext-redis: Required for Redis cache, lock, session, and queue drivers.
- 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).,
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.3.11
- v3.3.10
- v3.3.9
- v3.3.8
- v3.3.7
- v3.3.6
- v3.3.5
- v3.3.4
- v3.3.3
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.0
- v3.1.9
- v3.1.8
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.3.1
- v2.3.0
- v2.2
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
This package is auto-updated.
Last update: 2026-10-10 08:44:05 UTC
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
AI development
Use the TinyMVC development skill for Spark-specific implementation and testing. Its references/ folder contains the complete topic-based framework guidance and application examples. Copy the entire skill folder when adopting it in another application; AGENTS.md provides the project entry point.
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.