PHPackages                             arkham-dev/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. arkham-dev/framework

ActiveProject[Framework](/categories/framework)

arkham-dev/framework
====================

A lightweight, modern PHP framework built from scratch with MVC architecture, database wizard, and powerful developer tools

v1.5.2(9mo ago)2621MITTwigPHP &gt;=8.1

Since Jul 17Pushed 8mo agoCompare

[ Source](https://github.com/JosueIsOffline/Arkham)[ Packagist](https://packagist.org/packages/arkham-dev/framework)[ Docs](https://arkham-framework.dev)[ GitHub Sponsors](https://github.com/sponsors/arkham-framework)[ Patreon](https://patreon.com/arkham_framework)[ RSS](/packages/arkham-dev-framework/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (14)Used By (0)

Arkham PHP Framework
====================

[](#arkham-php-framework)

[![Arkham Framework](https://camo.githubusercontent.com/d892feaec6a614bed0a70ef3df6340f532c953353041cf9db6e29de846c22ed6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41726b68616d2d4672616d65776f726b2d626c7565)](https://camo.githubusercontent.com/d892feaec6a614bed0a70ef3df6340f532c953353041cf9db6e29de846c22ed6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41726b68616d2d4672616d65776f726b2d626c7565)[![PHP Version](https://camo.githubusercontent.com/97668b2c54b5ed6e40da2c22251c67565330c6cb39a5848eda4db46c2bf99096/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d677265656e)](https://camo.githubusercontent.com/97668b2c54b5ed6e40da2c22251c67565330c6cb39a5848eda4db46c2bf99096/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d677265656e)[![License](https://camo.githubusercontent.com/8174925d009b42074d50ab5cc7e29fcb1aa613b0d9cb2e43097697a40cf90fa4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f77)](https://camo.githubusercontent.com/8174925d009b42074d50ab5cc7e29fcb1aa613b0d9cb2e43097697a40cf90fa4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f77)[![Build Status](https://camo.githubusercontent.com/5b63f43aa1b7e4eb04322b3e27b56ae58cef2bfe9e13019b2c222a61fa4ba692/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c642d50617373696e672d627269676874677265656e)](https://camo.githubusercontent.com/5b63f43aa1b7e4eb04322b3e27b56ae58cef2bfe9e13019b2c222a61fa4ba692/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c642d50617373696e672d627269676874677265656e)

**Arkham** is a lightweight, modern PHP framework built from scratch following MVC architecture principles. It provides developers with essential tools for rapid web application development while maintaining simplicity and performance.

🚀 Features
----------

[](#-features)

- **MVC Architecture**: Clean separation of concerns with Models, Views, and Controllers
- **Database Wizard**: Interactive setup wizard for database configuration and table creation
- **Query Builder**: Intuitive fluent interface for database operations
- **Twig Integration**: Powerful templating engine for dynamic views
- **Fast Routing**: High-performance routing system powered by FastRoute
- **Multiple Database Support**: MySQL, PostgreSQL, SQLite, and SQL Server
- **Auto-Setup**: Automatic framework initialization and configuration
- **PHPUnit Testing**: Built-in testing framework support
- **Composer Ready**: PSR-4 autoloading and Composer integration

📋 Requirements
--------------

[](#-requirements)

- PHP 8.1 or higher
- Composer
- Web server (Apache, Nginx, or built-in PHP server)
- Database server (optional - SQLite works out of the box)

🔧 Installation
--------------

[](#-installation)

### Via Composer (Recommended)

[](#via-composer-recommended)

```
(recommended)
composer init
composer require arkham-dev/framework

or

composer create-project arkham-dev/framework my-app
cd my-app
php -S localhost:8000 -t public
```

### Manual Installation

[](#manual-installation)

```
git clone https://github.com/JosueIsOffline/Arkham.git my-app
cd my-app
composer install
php -S localhost:8000 -t public
```

🏁 Quick Start
-------------

[](#-quick-start)

### 1. Initial Setup

[](#1-initial-setup)

When you first visit your application, Arkham will automatically redirect you to the Database Setup Wizard:

```
http://localhost:8000

```

The wizard will guide you through:

- Database connection configuration
- Database creation
- Table and field setup
- Configuration file generation

### 2. Create Your First Controller

[](#2-create-your-first-controller)

```
