PHPackages                             ahmadmunib/framework1 - 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. ahmadmunib/framework1

AbandonedLibrary[Framework](/categories/framework)

ahmadmunib/framework1
=====================

A lightweight PHP framework with Laravel-like features including CLI tools

v1.1.2(4mo ago)010MITPHPPHP ^8.0

Since Dec 28Pushed 4mo agoCompare

[ Source](https://github.com/ahmadmunib/framework1)[ Packagist](https://packagist.org/packages/ahmadmunib/framework1)[ RSS](/packages/ahmadmunib-framework1/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

DIS Framework
=============

[](#dis-framework)

A lightweight, Laravel-inspired PHP framework with zero external dependencies.

[![PHP Version](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://php.net)[![License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

Features
--------

[](#features)

- 🚀 **Zero Dependencies** - Pure PHP, no Composer packages required
- 📦 **PSR-4 Autoloading** - Automatic class loading
- 🛣️ **Expressive Routing** - Laravel-style routes with parameters
- 📝 **Query Builder** - Fluent database interface
- 🔒 **Security** - Prepared statements, error handling
- ⚡ **Performance** - Lightweight and fast

Quick Start
-----------

[](#quick-start)

```
# Clone the repository
git clone https://github.com/your-org/dis-framework.git my-project
cd my-project

# Create storage directories
mkdir -p storage/logs storage/cache storage/uploads

# Start development server
php -S localhost:8000 -t public

# List framework CLI commands
php fx list
```

Visit `http://localhost:8000` to see your application running.

Basic Usage
-----------

[](#basic-usage)

### Define Routes

[](#define-routes)

```
// routes/web.php
Router::get('/hello/{name}', function (Request $request, string $name) {
    return "Hello, {$name}!";
});

Router::get('/users', 'UserController@index');
```

### Database Queries

[](#database-queries)

```
use Framework\Database\Connection as DB;

// Query Builder
$users = DB::table('users')
    ->where('active', 1)
    ->orderBy('name')
    ->get();

// Insert
$id = DB::table('users')->insert([
    'name' => 'John',
    'email' => 'john@example.com'
]);
```

### Configuration

[](#configuration)

```
// Access config values
$appName = config('app.name');
$dbHost = config('database.connections.mysql.host');
```

### Generate Controllers (Artisan-style)

[](#generate-controllers-artisan-style)

```
# Create app/Http/Controllers/UserController.php
php fx make:controller UserController

# Support nested namespaces (creates app/Http/Controllers/Admin/UserController.php)
php fx make:controller Admin/UserController
```

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- PDO extension
- Apache with mod\_rewrite or Nginx

Documentation
-------------

[](#documentation)

Full documentation is available in the [docs/official-documentation](docs/official-documentation/) directory:

- [Introduction](docs/official-documentation/01-introduction.md)
- [Installation](docs/official-documentation/02-installation.md)
- [Configuration](docs/official-documentation/03-configuration.md)
- [Routing](docs/official-documentation/04-routing.md)
- [Request &amp; Response](docs/official-documentation/05-request-response.md)
- [Database](docs/official-documentation/06-database.md)
- [Error Handling](docs/official-documentation/07-error-handling.md)

Directory Structure
-------------------

[](#directory-structure)

```
├── app/                # Application code
│   ├── Http/Controllers/
│   └── Models/
├── config/             # Configuration files
├── framework/          # Framework core
├── public/             # Web root
├── routes/             # Route definitions
├── storage/            # Logs, cache, uploads
└── tests/              # Test files

```

License
-------

[](#license)

MIT License - see [LICENSE](LICENSE) file for details.

Author
------

[](#author)

Ahmad Munib - Technical Team Lead

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance75

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

5

Last Release

133d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2df7285b3bc3cb94b6c20f6007c549fd147fc2e3af56acc270cd377fc5a9cd1c?d=identicon)[ahmadmunib](/maintainers/ahmadmunib)

---

Top Contributors

[![ahmadmunib](https://avatars.githubusercontent.com/u/94528926?v=4)](https://github.com/ahmadmunib "ahmadmunib (4 commits)")

---

Tags

phpcliframeworklaravel-like

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ahmadmunib-framework1/health.svg)

```
[![Health](https://phpackages.com/badges/ahmadmunib-framework1/health.svg)](https://phpackages.com/packages/ahmadmunib-framework1)
```

###  Alternatives

[utopia-php/cli

A simple CLI library to manage command line applications

41396.4k10](/packages/utopia-php-cli)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
