PHPackages                             edhaase/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. edhaase/slim-skeleton

ActiveProject

edhaase/slim-skeleton
=====================

Scaffolding for a web service or application with Slim

2.0.0(10y ago)14693MITPHPPHP &gt;=5.5.0

Since Jan 7Pushed 10y ago2 watchersCompare

[ Source](https://github.com/edhaase/slim-skeleton)[ Packagist](https://packagist.org/packages/edhaase/slim-skeleton)[ RSS](/packages/edhaase-slim-skeleton/feed)WikiDiscussions master Synced 1mo ago

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

Web Service Scaffolding
=======================

[](#web-service-scaffolding)

Purpose
-------

[](#purpose)

The aim of this repository is to provide a solid foundation for building a web service with [Slim 3](http://www.slimframework.com/) ([repo](https://github.com/slimphp/Slim)) using modern practices and to provide examples on how you might use some of it's functionality. To that end, some example routes and controllers are provided, as well as a basic logger and APC/APCu cache provided by [Stash](http://www.stashphp.com/). Testing is provided by [Codeception](http://codeception.com/).

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

[](#installation)

Via composer:

`composer create-project edhaase/slim-skeleton [destination]`.

Via git:

- Clone this repo
- Run `composer install`
- Run `composer bootstrap` or `composer run-script post-create-project-cmd`
- Enjoy!

### Regarding the autoloader

[](#regarding-the-autoloader)

This project uses [PSR-4 autoloading](http://www.php-fig.org/psr/psr-4/). See `composer.json` for the mappings. If you change them, you'll have to rebuild the autoloader. You can do this by running `composer dump-autoload --optimize`.

Structure
---------

[](#structure)

```
docs/   - PHPDoc output
logs/   - Log output
public/ - Site configuration entry point limits what we expose
tests/  - Codeception tests
src/
    Controller/ - Route controllers
    Model/      - Data models
    Service/    - Service providers
    app.php     - Primary application
    routes.php  - Route creation
vendor/ - Composer install directory
config.example.php  - Example application config constants

```

Documentation
-------------

[](#documentation)

Documentation can be generated using phpDocumentor.

Tests
-----

[](#tests)

```
composer test

```

Code standards
--------------

[](#code-standards)

This project adheres to the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) coding style.

Scripts
-------

[](#scripts)

We've also provided some scripts through composer to make life easier.

```
composer
        codecept  - shortcut to codecept
        test      - alias for codecept run
        cs        - alias for "phpcs --standard=PSR2 src/",
        cbf       - alias for "phpcbf --standard=PSR2 src/",
        serve     - starts test server
        bootstrap - alias to @post-create-project-cmd

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.8% 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 ~0 days

Total

2

Last Release

3778d ago

Major Versions

1.0.0 → 2.0.02016-01-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/68c242807bcce4a67e87833bc07c4d2e3df4e0e7b23ce22247d28077fc3bdf98?d=identicon)[edhaase](/maintainers/edhaase)

---

Top Contributors

[![edhaase](https://avatars.githubusercontent.com/u/5115462?v=4)](https://github.com/edhaase "edhaase (11 commits)")[![Lewiscowles1986](https://avatars.githubusercontent.com/u/2605791?v=4)](https://github.com/Lewiscowles1986 "Lewiscowles1986 (3 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (2 commits)")

---

Tags

slimSkeleton

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[odan/slim4-skeleton

A Slim 4 skeleton

4588.5k](/packages/odan-slim4-skeleton)

PHPackages © 2026

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