PHPackages                             casbin/casbin-with-slim - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. casbin/casbin-with-slim

ActiveProject[HTTP &amp; Networking](/categories/http)

casbin/casbin-with-slim
=======================

Casbin skeleton application with Slim Framework

v1.0.0(1y ago)10153Apache-2.0PHP

Since Dec 26Pushed 1y ago4 watchersCompare

[ Source](https://github.com/php-casbin/casbin-with-slim)[ Packagist](https://packagist.org/packages/casbin/casbin-with-slim)[ RSS](/packages/casbin-casbin-with-slim/feed)WikiDiscussions master Synced today

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

Casbin skeleton application with Slim Framework 4
=================================================

[](#casbin-skeleton-application-with-slim-framework-4)

[![PHPUnit](https://github.com/php-casbin/casbin-with-slim/actions/workflows/phpunit.yml/badge.svg)](https://github.com/php-casbin/casbin-with-slim/actions/workflows/phpunit.yml)[![Coverage Status](https://camo.githubusercontent.com/be7d7e2bd1fcde72caea76f7f56ed7736df36185726727f5f58b1f97a0d01012/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068702d63617362696e2f63617362696e2d776974682d736c696d2f62616467652e737667)](https://coveralls.io/github/php-casbin/casbin-with-slim)[![Latest Stable Version](https://camo.githubusercontent.com/d2939185e1d3fec32966dd5133d2db5b6aefd092ef15a778205e52eae6f53e52/68747470733a2f2f706f7365722e707567782e6f72672f63617362696e2f63617362696e2d776974682d736c696d2f762f737461626c65)](https://packagist.org/packages/casbin/casbin-with-slim)[![Total Downloads](https://camo.githubusercontent.com/b1201b48a90078a34d58e90ca152824ddfe9d70fb1ce7536ce9a85eedf648f75/68747470733a2f2f706f7365722e707567782e6f72672f63617362696e2f63617362696e2d776974682d736c696d2f646f776e6c6f616473)](https://packagist.org/packages/casbin/casbin-with-slim)[![License](https://camo.githubusercontent.com/4ee66ac88b5175254d5cb3b88a5ce13917d0defe165c6ec1e82207a85b1e7769/68747470733a2f2f706f7365722e707567782e6f72672f63617362696e2f63617362696e2d776974682d736c696d2f6c6963656e7365)](https://packagist.org/packages/casbin/casbin-with-slim)

Use this skeleton application to quickly setup and start working on a new Slim Framework 4 application. This application uses the latest Slim 4 with Slim PSR-7 implementation and PHP-DI container implementation. It also uses the Monolog logger.

This skeleton application was built for Composer. This makes setting up a new [Casbin](https://github.com/php-casbin/casbin-with-slim) skeleton application with Slim Framework quick and easy.

Install the Application
-----------------------

[](#install-the-application)

Run this command from the directory in which you want to install your new Slim Framework application.

```
composer create-project casbin/casbin-with-slim [my-app-name]
```

Replace `[my-app-name]` with the desired directory name for your new application. You'll want to:

- Point your virtual host document root to your new application's `public/` directory.
- Ensure `logs/` is web writable.

To run the application in development, you can run these commands

```
cd [my-app-name]
composer start
```

Or you can use PHP Built-in web server:

```
php -S localhost:8888 -t public

```

Or you can use `docker-compose` to run the app with `docker`, so you can run these commands:

```
cd [my-app-name]
docker-compose up -d
```

After that, open `http://localhost:8888` in your browser.

Run this command in the application directory to run the test suite

```
composer test
```

That's it! Now go build something cool.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance40

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.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

Unknown

Total

1

Last Release

499d ago

### Community

Maintainers

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

---

Top Contributors

[![leeqvip](https://avatars.githubusercontent.com/u/35752209?v=4)](https://github.com/leeqvip "leeqvip (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")

---

Tags

authorizationcasbinmiddlewarepermissionrbacrolesskeletonrestrouterpsr7permissionrolesmicroframeworkcasbin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/casbin-casbin-with-slim/health.svg)

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

PHPackages © 2026

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