PHPackages                             cyve/slim-platform - 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. cyve/slim-platform

ActiveProject[Framework](/categories/framework)

cyve/slim-platform
==================

PHP micro framework for REST API based on Slim

1.0.2(1y ago)09[1 PRs](https://github.com/cyve/slim-platform/pulls)MITPHPCI passing

Since Jan 11Pushed 3mo ago1 watchersCompare

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

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

cyve/slim-platform
==================

[](#cyveslim-platform)

PHP micro framework based on [Slim](http://www.slimframework.com) to add a REST API on top of a MySQL server.

Installation
------------

[](#installation)

```
composer create-project cyve/slim-platform
```

```
// index.php
require 'vendor/autoload.php';

if (is_readable('.env')) {
    $_ENV = $_ENV + parse_ini_file('.env');
}

$app = new SlimPlatform\App();

// Add as many PSR-15 middlewares as you need
// Check some awesome middleware examples here: https://github.com/middlewares
$app->addMiddleware(new Middlewares\ResponseTime());
$app->addMiddleware(new Middlewares\GzipEncoder());
$app->addMiddleware(new Middlewares\Expires(['application/json' => '+1 hour']));

$app->run();
```

⚠️ The environment variable `DATABASE_DSN` is mandatory (ex: `mysql://user:pa$$w0rd@127.0.0.1:3306/database`)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance59

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~793 days

Total

3

Last Release

722d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/cyve-slim-platform/health.svg)

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

###  Alternatives

[slim/slim-skeleton

A Slim Framework skeleton application for rapid development

1.6k458.7k6](/packages/slim-slim-skeleton)[brandembassy/slim-nette-extension

19190.2k](/packages/brandembassy-slim-nette-extension)[vesp/core

Vesp core library to make backend simple

243.8k5](/packages/vesp-core)[zubzet/framework

 A lightweight PHP framework focused on rapid development, ease of use, and great portability.

1469.7k1](/packages/zubzet-framework)

PHPackages © 2026

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