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(8y 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 2mo ago

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 32% 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

3268d 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)
```

PHPackages © 2026

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