PHPackages                             afshinpersian/afshlim\_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. afshinpersian/afshlim\_framework

ActiveProject[Framework](/categories/framework)

afshinpersian/afshlim\_framework
================================

Slim fullstack framework in my way!

1.1.2(8y ago)610MITPHPPHP &gt;= 7.0.0

Since Nov 26Pushed 8y ago2 watchersCompare

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

READMEChangelogDependencies (18)Versions (13)Used By (0)

[![Build Status](https://camo.githubusercontent.com/ec6cdef478f9c69ec5d05e1ddcf1da3a34f5e9ef004d60f8a77a9daf4a9a86e6/68747470733a2f2f7472617669732d63692e6f72672f61667368696e7065727369616e2f616673686c696d5f6672616d65776f726b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/afshinpersian/afshlim_framework)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/67eba27b1ff1cbc593155137f79d67d343bc0ed8b8117f36a002cd2a4babc685/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61667368696e7065727369616e2f616673686c696d5f6672616d65776f726b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/afshinpersian/afshlim_framework/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/a3d93af8ed898ef12ceeec6c2cfefc3f6fb3c0a3730abda35361d8d3f7b65a98/68747470733a2f2f706f7365722e707567782e6f72672f61667368696e7065727369616e2f616673686c696d5f6672616d65776f726b2f646f776e6c6f616473)](https://packagist.org/packages/afshinpersian/afshlim_framework)[![License](https://camo.githubusercontent.com/5cd4e408173ef2b8467414b497a461d6eb2446c8c46d6243578ff5dfc30f074a/68747470733a2f2f706f7365722e707567782e6f72672f61667368696e7065727369616e2f616673686c696d5f6672616d65776f726b2f6c6963656e7365)](https://packagist.org/packages/afshinpersian/afshlim_framework)[![Latest Stable Version](https://camo.githubusercontent.com/760d3920857ed09548b7702be6ae7180c59c60a3ffc7621ad7afb798a69b76c4/68747470733a2f2f706f7365722e707567782e6f72672f61667368696e7065727369616e2f616673686c696d5f6672616d65776f726b2f762f737461626c65)](https://packagist.org/packages/afshinpersian/afshlim_framework)

[![Twitter](https://camo.githubusercontent.com/9b87b882f15eba486a415fee8994a3c831f0a3eb0409ea7bfbc438874656e12c/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f68747470732f6769746875622e636f6d2f61667368696e7065727369616e2f616673686c696d5f6672616d65776f726b2e7376673f7374796c653d736f6369616c)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fafshinpersian%2Fafshlim_framework)

AfshlimFramework
----------------

[](#afshlimframework)

a Slim framework boilerplate in my Way

- [PSR-7](http://www.php-fig.org/psr/psr-7/ "PHP Framework Interop Group")
- [PSR-4](http://www.php-fig.org/psr/psr-4/ "PHP Framework Interop Group")
- PHP 7.0
- Namespaced
- MVC

---

Contents
--------

[](#contents)

- [Usage](#Usage)

---

### Usage

[](#usage)

> as a php developer I used to use many php frameworks such as laravel- yii - codeigniter and in the other hand I have used some php micro frameworks like SLIM , SILEX , FatfreeFramework ... but micro frameworks are tiny and fullstacks are huge , this skeleton is very slim with features of full stack frameworks .. this is my way to creating new framework ... I know it's not perfect .. but it's easy to use and full featured tool

### How to install

[](#how-to-install)

Run this command from the directory in which you want to install

```
    composer create-project afshinpersian/afshlim_framework
```

create mysql database

copy .env\_example file

```
    cp .env_example .env
```

run migration with this command

```
    php afsh migrate
```

it's done

---

### Libraries

[](#libraries)

- Helpers
- Services
- Symfony VarDumper
- Environment variables with Dotenv
- Translation And Localizations
- Core Interfaces
- MVC Pattern
- DataAccess Repository Pattern
- Command Line Tool For Better and Easy Developing
- [Facade Pattern slim-facades](https://github.com/zhshize/slim-facades)
- [Logging with Monolog](https://github.com/Seldaek/monolog)
- [Blade View](https://github.com/rubellum/Slim-Blade-View)
- [slim/csrf](https://github.com/slimphp/Slim-Csrf)
- [slim/Flash](https://github.com/slimphp/Slim-Flash)
- [symfony command](https://github.com/symfony/console/blob/master/Command/Command.php)
- [Database Migration With PhpMig](https://github.com/davedevelopment/phpmig)
- [Image Manupulation with gregwar/image](https://github.com/Gregwar/Image)
- Modular System

### CLI Tools

[](#cli-tools)

- Currently there are some supported commands:
- `php afsh make:controller MyControllerClassName`
- `php afsh make:middleware MyMiddlewareClassName`
- `php afsh make:model MyModelClassName`
- `php afsh make:migration MymigrationClassName`
- `php afsh list` // list of commnads
- `php afsh migrate` // run migrations
- `php afsh migrate:rollback`// rollback migrations
- `php afsh migration:status` // checking status of migrations
- `php afsh routes:list` // getting routes list in cli tool

#### TODO

[](#todo)

- registration
- login 1 step
- login 2 step
- admin panel
- sending email
- image manupulation
- ajax support

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 97.7% 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 ~9 days

Recently: every ~20 days

Total

10

Last Release

3005d ago

Major Versions

0.2 → 1.0.02017-11-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/337aa0e99cc065720fd88a38d4db0051accb4190d84370c5962305283af58825?d=identicon)[afshinpersian](/maintainers/afshinpersian)

---

Top Contributors

[![afshinakhgar](https://avatars.githubusercontent.com/u/2629049?v=4)](https://github.com/afshinakhgar "afshinakhgar (125 commits)")[![afshinyahyayi](https://avatars.githubusercontent.com/u/44654840?v=4)](https://github.com/afshinyahyayi "afshinyahyayi (3 commits)")

---

Tags

bladeboilerplateclieloquentfastmicro-frameworkmigrationmvcphp-frameworkskeletonslimslim-frameworkslim3startphpphpunitconsolecommand-lineframeworkslimeloquentbladeflashSkeletonJSON-APImodularVarDumperCLI Tool

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/afshinpersian-afshlim-framework/health.svg)

```
[![Health](https://phpackages.com/badges/afshinpersian-afshlim-framework/health.svg)](https://phpackages.com/packages/afshinpersian-afshlim-framework)
```

PHPackages © 2026

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