PHPackages                             chubbyphp/chubbyphp-api-slim-skeleton - 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. [API Development](/categories/api)
4. /
5. chubbyphp/chubbyphp-api-slim-skeleton

AbandonedArchivedProject[API Development](/categories/api)

chubbyphp/chubbyphp-api-slim-skeleton
=====================================

13PHP

Since Oct 10Pushed 7y agoCompare

[ Source](https://github.com/chubbyphp-legacy/chubbyphp-api-slim-skeleton)[ Packagist](https://packagist.org/packages/chubbyphp/chubbyphp-api-slim-skeleton)[ RSS](/packages/chubbyphp-chubbyphp-api-slim-skeleton/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

DEPRECATED use

chubbyphp/chubbyphp-api-slim-skeleton
=====================================

[](#chubbyphpchubbyphp-api-slim-skeleton)

[![Build Status](https://camo.githubusercontent.com/52a44ce3cd6904154f6ca69474789d2f5168d78ca8cd3c895dd3ee2e0c37e1cc/68747470733a2f2f6170692e7472617669732d63692e6f72672f6368756262797068702f6368756262797068702d6170692d736c696d2d736b656c65746f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/chubbyphp/chubbyphp-api-slim-skeleton)[![Total Downloads](https://camo.githubusercontent.com/5bf85ce08632ef0eaf441190e925285aecfca3a3f615d5c1abdc5f77cf166d87/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6170692d736c696d2d736b656c65746f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-api-slim-skeleton)[![Latest Stable Version](https://camo.githubusercontent.com/aafbf4e3274ff02a5807119190f72ff14911676fc64c4cbc41231b773c12e4c5/68747470733a2f2f706f7365722e707567782e6f72672f6368756262797068702f6368756262797068702d6170692d736c696d2d736b656c65746f6e2f762f737461626c652e706e67)](https://packagist.org/packages/chubbyphp/chubbyphp-api-slim-skeleton)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b27a2b2eef8892c38f61120965c793396b1e035679566d6cef0fd1d3529755e3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6368756262797068702f6368756262797068702d6170692d736c696d2d736b656c65746f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-api-slim-skeleton/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6a83aa9da01c788d64c4efd6046808b58abc30b2369347bccf4d48d5c7d21bc5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6368756262797068702f6368756262797068702d6170692d736c696d2d736b656c65746f6e2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-api-slim-skeleton/?branch=master)

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

[](#description)

A slim 3 skeleton to build web apis.

Requirements
------------

[](#requirements)

- php: ~7.0
- [chubbyphp/chubbyphp-api-http](https://github.com/chubbyphp/chubbyphp-api-http): ~1.0@beta&gt;=1.0-beta15
- [chubbyphp/chubbyphp-deserialization](https://github.com/chubbyphp/chubbyphp-deserialization): ^1.1.1
- [chubbyphp/chubbyphp-deserialization-model](https://github.com/chubbyphp/chubbyphp-deserialization-model): ~1.1
- [chubbyphp/chubbyphp-lazy](https://github.com/chubbyphp/chubbyphp-lazy): ~1.1
- [chubbyphp/chubbyphp-model](https://github.com/chubbyphp/chubbyphp-model): ^3.0.1
- [chubbyphp/chubbyphp-model-doctrine-dbal](https://github.com/chubbyphp/chubbyphp-model-doctrine-dbal): ^1.0.2
- [chubbyphp/chubbyphp-serialization](https://github.com/chubbyphp/chubbyphp-serialization): ~1.1
- [chubbyphp/chubbyphp-translation](https://github.com/chubbyphp/chubbyphp-translation): ^1.1.2
- [chubbyphp/chubbyphp-validation](https://github.com/chubbyphp/chubbyphp-validation): ~2.1
- [chubbyphp/chubbyphp-validation-model](https://github.com/chubbyphp/chubbyphp-validation-model): ^1.0.2
- [monolog/monolog](https://github.com/Seldaek/monolog): ~1.5
- [ramsey/uuid](https://github.com/ramsey/uuid): 2.0
- [silex/providers](https://github.com/silexphp/Silex-Providers): ^2.0.3
- [slim/slim](https://github.com/slimphp/Slim): ~3.0
- [symfony/console](https://github.com/symfony/console): ~2.7|~3.0
- [symfony/yaml](https://github.com/symfony/yaml): ~2.7|~3.0

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

[](#installation)

```
composer create-project chubbyphp/chubbyphp-api-slim-skeleton myproject dev-master --prefer-dist
```

Setup
-----

[](#setup)

### Create database

[](#create-database)

```
bin/console chubbyphp:model:dbal:database:create
```

### Create / Update schema

[](#create--update-schema)

```
bin/console chubbyphp:model:dbal:database:schema:update --dump --force
```

Sample Responses
----------------

[](#sample-responses)

### Index

[](#index)

#### Json

[](#json)

GET

```
{
    "_links": {
        "self": {
            "href": "/api",
            "method": "GET"
        },
        "courses": {
            "href": "/api/courses",
            "method": "GET"
        }
    },
    "_type": "index"
}
```

#### Xml

[](#xml)

GET

```

            /api
            GET

            /api/courses
            GET

```

#### Yaml

[](#yaml)

GET

```
_links:
    self:
        href: /api
        method: GET
    courses:
        href: /api/courses
        method: GET
_type: index
```

### Courses

[](#courses)

#### Json

[](#json-1)

GET [http://chubbyphp-api-slim-skeleton.dev/api/courses?page=1&amp;perPage=1](http://chubbyphp-api-slim-skeleton.dev/api/courses?page=1&perPage=1)

```
{
    "page": 1,
    "perPage": 1,
    "sort": null,
    "order": "asc",
    "_embedded": {
        "count": 1,
        "pages": 1,
        "courses": [
            {
                "id": "d480082e-ef4f-43e6-96e8-fd2b9fa613ff",
                "name": "PHP Course",
                "level": 3,
                "progress": 0.45,
                "active": true,
                "documents": [
                    {
                        "id": "28031482-6168-47f1-a78b-ea57f38d0ef0",
                        "name": "Choose the right abstraction",
                        "url": "http://test.com/choose-the-right-abstractions.pdf",
                        "_type": "document"
                    }
                ],
                "_links": {
                    "read": {
                        "href": "/api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff",
                        "method": "GET"
                    },
                    "update": {
                        "href": "/api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff",
                        "method": "PATCH"
                    },
                    "delete": {
                        "href": "/api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff",
                        "method": "DELETE"
                    }
                },
                "_type": "course"
            }
        ]
    },
    "_links": {
        "self": {
            "href": "/api/courses?page=1&perPage=1&order=asc",
            "method": "GET"
        },
        "create": {
            "href": "/api/courses",
            "method": "POST"
        }
    },
    "_type": "course-search"
}
```

#### Xml

[](#xml-1)

GET [http://chubbyphp-api-slim-skeleton.dev/api/courses?page=1&amp;perPage=1](http://chubbyphp-api-slim-skeleton.dev/api/courses?page=1&perPage=1)

```

    1
    1

    asc

        1
        1

                d480082e-ef4f-43e6-96e8-fd2b9fa613ff
                PHP Course
                3
                0.45
                true

                        28031482-6168-47f1-a78b-ea57f38d0ef0
                        Choose the right abstraction
                        http://test.com/choose-the-right-abstractions.pdf

                        /api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff
                        GET

                        /api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff
                        PATCH

                        /api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff
                        DELETE

                /api/courses?page=1&perPage=1&order=asc]]>

            GET

            /api/courses
            POST

```

#### Yaml

[](#yaml-1)

GET [http://chubbyphp-api-slim-skeleton.dev/api/courses?page=1&amp;perPage=1](http://chubbyphp-api-slim-skeleton.dev/api/courses?page=1&perPage=1)

```
page: 1
perPage: 1
sort: null
order: asc
_embedded:
    count: 1
    pages: 1
    courses:
        -
            id: d480082e-ef4f-43e6-96e8-fd2b9fa613ff
            name: 'PHP Course'
            level: 3
            progress: 0.45
            active: true
            documents:
                -
                    id: 28031482-6168-47f1-a78b-ea57f38d0ef0
                    name: 'Choose the right abstraction'
                    url: 'http://test.com/choose-the-right-abstractions.pdf'
                    _type: document
            _links:
                read:
                    href: /api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff
                    method: GET
                update:
                    href: /api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff
                    method: PATCH
                delete:
                    href: /api/courses/d480082e-ef4f-43e6-96e8-fd2b9fa613ff
                    method: DELETE
            _type: course
_links:
    self:
        href: '/api/courses?page=1&perPage=1&order=asc'
        method: GET
    create:
        href: /api/courses
        method: POST
_type: course-search
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/55048de83ca5e5d8c67164a19c78edcaad413b0c1a4ae10d92edf8d77bedd90f?d=identicon)[dominikzogg](/maintainers/dominikzogg)

---

Top Contributors

[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (48 commits)")

### Embed Badge

![Health badge](/badges/chubbyphp-chubbyphp-api-slim-skeleton/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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