PHPackages                             inhere/slim-extend - 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. inhere/slim-extend

AbandonedArchivedLibrary[Framework](/categories/framework)

inhere/slim-extend
==================

A Slim Framework extension

v0.5.1(9y ago)428MITPHPPHP &gt;=7.0.0

Since Jun 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/phppkg/slim-extend)[ Packagist](https://packagist.org/packages/inhere/slim-extend)[ Docs](http://github.com/inhere/slim-extend)[ RSS](/packages/inhere-slim-extend/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (12)Versions (2)Used By (0)

slim-extend
===========

[](#slim-extend)

Description
-----------

[](#description)

slim 3 extend to MVC structure.

Some Feature :

- Global config, Environment support
- Language support
- Command support
- Twig template engine
- Flash Messages
- Monolog
- Pimple Dependency Injection Container
- Controller layer for MVC
- RESTFul Controller
- Model layer, database query builder.
- Tracy Errors Handler(by whoops)

Install
-------

[](#install)

- Use composer

edit `composer.json`

*require* add

```
"inhere/slim-extend": "dev-master",

```

run: `composer update`

Usage
-----

[](#usage)

### generate class

[](#generate-class)

support: model, command, controller

how to use:

```
php bin/console gen
php bin/console gen:model -h
```

- a model

```
php bin/console gen:model name=rolePermission table=role_permission type=db fileds="id,int;name,string,名称;priority,int,级别;permissions,string,权限"
```

more see [Document](doc/index.md)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3313d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d23e1decaf354e8f36a7ad61128865dc78dd63336c2d023d79aa3ff8ba2a05ff?d=identicon)[inhere](/maintainers/inhere)

---

Top Contributors

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

---

Tags

modelmvcrestfulslim3slimextensions

### Embed Badge

![Health badge](/badges/inhere-slim-extend/health.svg)

```
[![Health](https://phpackages.com/badges/inhere-slim-extend/health.svg)](https://phpackages.com/packages/inhere-slim-extend)
```

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k199.2M1.2k](/packages/laravel-sail)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)

PHPackages © 2026

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