PHPackages                             datado/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. [Framework](/categories/framework)
4. /
5. datado/slim

ActiveLibrary[Framework](/categories/framework)

datado/slim
===========

A bootstrapper for the Slim framework

1.2.3(10y ago)352MITPHP

Since Nov 8Pushed 10y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (2)Versions (8)Used By (0)

DataDo Slim
===========

[](#datado-slim)

Build a Slim framework rest api from your Repository

What is Slim?
-------------

[](#what-is-slim)

Slim is a solid rest api framework that allows you to easily develop rest apis. You can find all you need to know at [slimframework.com](http://www.slimframework.com/docs/).

Usage
-----

[](#usage)

To use this bootstrapper you first need to add the composer dependency

```
composer require datado/slim

```

Then you create your repository [more info here](https://github.com/DataDo/data) and attach it to your application.

```
    $app = new \Slim\App;
    \DataDo\Slim::attach($app, $repository);

    // Or a shortcut if you are in a hurry
    $app = \DataDo\Slim::create($repository);

    // You can also pass multiple repositories at the same time
    $app = \DataDo\Slim::create($pageRepository, $fileRepository, $userRepository);

    // All you need to do now is start the app
    $app->run();
```

And now you're good to go! Let's say your repository is hosting *User* entities. Then the above code will have created a rest api at `/users`.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~22 days

Total

7

Last Release

3800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/491ba0ab111aed73f7698dee0c48727b5cf7dd85bb35591580d54c3e29af02ed?d=identicon)[thomas.biesaart](/maintainers/thomas.biesaart)

### Embed Badge

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

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

###  Alternatives

[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)[zubzet/framework

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

1370.4k1](/packages/zubzet-framework)[vesp/core

Vesp core library to make backend simple

244.0k5](/packages/vesp-core)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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