Skip to content
View tinymvc's full-sized avatar

Block or report tinymvc

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
tinymvc/README.md

TinyMVC Framework

Latest Version License GitHub Stars Open Issues

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 - PHP-based views with layout support
  • Security First - CSRF protection, input sanitization
  • CLI Tools - Built-in development server and generator commands

Installation

Create a new project with Composer:

composer create-project tinymvc/tinymvc 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\Http\Route;

Route::get('welcome/{name}', function($name) {
    return response("Welcome, $name!");
});

Documentation

Full documentation is available at: https://tinymvc.github.io

Documentation

Contributing

We welcome contributions! Please:

  1. ⭐ Star the repository
  2. 🐞 Report issues here
  3. 🛠 Submit PRs following our contribution guidelines

License

TinyMVC is open-source software licensed under the MIT License.

Popular repositories Loading

  1. tinymvc tinymvc Public

    TinyMvc is a minimalist PHP framework to craft blazing-fast RESTful APIs and modern web apps.

    PHP 3 1

  2. tinycore tinycore Public

    Core Classes of TinyMVC Framework

    PHP 1

  3. tinymvc.github.io tinymvc.github.io Public

    HTML

  4. php-socket php-socket Public

    A Minified Php-Websocket Server and JS Helper Client

    PHP