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

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

dev-pledge/slim-skeleton
========================

A Slim Framework skeleton application for rapid development with Docker And Swoole Using Domain Driven Development DDD

v0.0.9(8y ago)17MITPHPPHP &gt;=5.5.0

Since Feb 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Dev-Pledge/SlimSkeleton)[ Packagist](https://packagist.org/packages/dev-pledge/slim-skeleton)[ Docs](https://github.com/Dev-Pledge/SlimSkeleton)[ RSS](/packages/dev-pledge-slim-skeleton/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (10)Versions (10)Used By (0)

Slim Framework 3 Skeleton Application For DevPledge
===================================================

[](#slim-framework-3-skeleton-application-for-devpledge)

This is based on slim/slim-skeleton from Josh Lockhart.

This also has Our Docker Compose and Base Dockerfiles included!

Use this skeleton application to quickly setup and start working on a new Slim Framework 3 application. This application uses the latest Slim 3 with the PHP-View template renderer. It also uses the Monolog logger.

This skeleton application was built for Composer. This makes setting up a new Slim Framework application 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 dev-pledge/slim-skeleton [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 writeable.

To set up sentry

```
docker-compose run --rm sentry upgrade

```

To run the application in development, you can also run either of these command.

```
docker-compose up

```

or

```
composer start-docker

gem install docker-sync

docker-sync up

```

Run this command to run the test suite

```
composer test

```

To resolve to the correct domain you want to use

change files:

vars inside \[\] are to be changed if needed!

```
config/swoolehost.conf

    server{
        listen 80;
        listen [::]:80;
        listen 443;
        listen [::]:443;

        server_name [api.swoole.co.uk];

        location /
        {
            proxy_pass http://[api:9501];
        }
    }

config/webhost.conf
    server {
        listen 80;
        listen 443;
        index index.php index.html;
        root /var/www/public;

        server_name [api.web.co.uk];

        location / {
            try_files $uri /index.php?$args;
        }

        location ~ \.php$ {
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_pass [api:9000];
            fastcgi_index index.php;
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param PATH_INFO $fastcgi_path_info;
        }
    }

.developmentenv

    MYSQL_HOST="[mysql-db]"
    MYSQL_DB="devpledge"
    MYSQL_USER="root"
    MYSQL_PASSWORD="test_pass"
    JWT_SECRET="987ytgvbnytfcvbh4g3uwsjdcnfbr"
    SWOOLE_PORT="[9501]"
    API_DOMAIN="[api]"

docker-compose.yml

    version: "3"

    services:
      [api]:
        build:
          context: .
          dockerfile: api.dockerfile
        environment:
          docker: "true"
          production: "false"
        volumes:
          - .:/var/www
          - ./logs:/var/www/logs
        ports:
          - 9000:9000
          - [9501:9501]

      web:
        build:
          context: .
          dockerfile: web.dockerfile
        volumes:
          - ./config:/etc/nginx/conf.d
        ports:
          - 80:80
          - 443:443

      [mysql-db]:
        restart: always
        image: mysql:latest
        environment:
          MYSQL_ROOT_PASSWORD: 'test_pass'
          MYSQL_USER: 'test'
          MYSQL_PASS: 'pass'
        volumes:
         - ./data:/var/lib/mysql
        ports:
          - [3307:3306]

/etc/hosts (access by sudo nano /etc/hosts)

    #add lines so your broswer resolves to correct domains on your MAC or Dev Machine
    127.0.0.1       [api.web.co.uk]
    127.0.0.1       [api.swoole.co.uk]

```

That's it! Now go build something cool.

This needs some work before this could go to PRODUCTION proper - but it will get you developing!

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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 ~6 days

Recently: every ~11 days

Total

9

Last Release

3011d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6054445?v=4)[John R Saunders](/maintainers/JRSaunders)[@JRSaunders](https://github.com/JRSaunders)

---

Top Contributors

[![JRSaunders](https://avatars.githubusercontent.com/u/6054445?v=4)](https://github.com/JRSaunders "JRSaunders (28 commits)")[![TomWright](https://avatars.githubusercontent.com/u/935867?v=4)](https://github.com/TomWright "TomWright (2 commits)")

---

Tags

composerskeleton-applicationslimrestrouterpsr7dockerswoolemicroframeworkdomain driven developmentFramework Application Domain

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dev-pledge-slim-skeleton/health.svg)

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

PHPackages © 2026

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