Skip to main content

Welcome to MINI Documentation

An extremely simple barebone PHP micro-framework for quick prototypes and small projects. No complexity, just clean code.

MINI Framework Logo

Quick Start

Get up and running with MINI in just a few minutes

1

Install MINI

Clone the repository or download the latest release from GitHub.
git clone https://github.com/panique/mini.git
cd mini
2

Configure Database

Edit the database credentials in application/config/config.php:
config.php
define('DB_TYPE', 'mysql');
define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'mini');
define('DB_USER', 'root');
define('DB_PASS', 'your_password');
3

Set Up Database

Import the SQL files from the _install/ directory:
mysql -u root -p mini < _install/01-create-database.sql
mysql -u root -p mini < _install/02-create-table-song.sql
mysql -u root -p mini < _install/03-insert-demo-data-into-table-song.sql
4

Start Building

You’re ready! Navigate to your application in a browser and start building.
Make sure mod_rewrite is enabled on your server. Check our Server Setup guide for details.

Core Features

Everything you need to build small to medium-sized PHP applications

Simple MVC Architecture

Clean separation of concerns with controllers, models, and views

Clean URL Routing

Beautiful URLs that map directly to controllers and methods

PDO Database Layer

Secure database access using PDO with prepared statements

CRUD Operations

Complete Create, Read, Update, Delete examples included

AJAX Support

Built-in examples for handling AJAX requests

Minimal Setup

No complex configuration, works out of the box

Explore Documentation

Deep dive into the framework’s concepts and capabilities

Core Concepts

Learn how MINI works under the hood

Guides

Step-by-step guides for common tasks

Deployment

Deploy your application to production

Ready to Start Building?

MINI is perfect for quick prototypes, small projects, and learning PHP MVC patterns without the overhead of larger frameworks.

Get Started Now