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

ActiveLibrary[Framework](/categories/framework)

carbontwelve/slim-skeleton
==========================

An opinionated slim skeleton

0.0.4(10y ago)129[7 issues](https://github.com/carbontwelve/slim-skeleton/issues)MITPHPPHP &gt;=5.5.9

Since Feb 16Pushed 10y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (6)Versions (7)Used By (0)

Slim Skeleton
=============

[](#slim-skeleton)

[![styleci](https://camo.githubusercontent.com/afdc29b8a70c70dc8628be99617d6fe1c7032463b87d5b62862d6d4ec16a9e6c/68747470733a2f2f7374796c6563692e696f2f7265706f732f35313834363135352f736869656c64)](https://styleci.io/repos/51846155)[![Dependency Status](https://camo.githubusercontent.com/321643893e18ee17d3737935ab1acf0b66d60eb1403397170d698af142fd58e5/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536633461323631313862323731303033623339323261612f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/56c4a26118b271003b3922aa)[![Latest Version](https://camo.githubusercontent.com/e40ab0144fe300905c8ad93b1822f5b2e5fc0c0c1f904e5c72343bb115efde29/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636172626f6e7477656c76652f736c696d2d736b656c65746f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/carbontwelve/slim-skeleton/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![ghit.me](https://camo.githubusercontent.com/72b27a1b5c732ef4934482f485249e2263695628b0540546aa2117717dc51823/68747470733a2f2f676869742e6d652f62616467652e7376673f7265706f3d636172626f6e7477656c76652f736c696d2d736b656c65746f6e)](https://ghit.me/repo/carbontwelve/slim-skeleton)

A rather opinionated skeleton project for getting started with your slim applications. It is heavily inspired by Laravels directory structure, so if you have used Laravel 5 you should feel familiar with this.

Getting started
---------------

[](#getting-started)

The easiest method for getting started developing with the Slim3 Skeleton is via the composer `create-project` command: `composer create-project -s dev --prefer-dist carbontwelve/slim-skeleton app`

Using `npm install` will pull in all the node requirements for the gulpfile to run, the gulpfile has serveral helper methods for building js and css from the resource folder as well as a file watcher to build on demand while you code.

Development
-----------

[](#development)

Once installed you can use the built in php server with the `serve.php` helper to run the app in your browser: `php -S 127.0.0.1:8080 -t public serve.php`

Basic page "router" usage
-------------------------

[](#basic-page-router-usage)

The Slim Skeleton extends the Slim3 `\Slim\Handlers\NotFound` handler class with `App\Http\Handlers\NotFoundPageResolver` which checks to see if the uri path can be resolved to a view inside the path `resources\views\pages`.

It will first check to see if the uri path is a directory and if so then check to see if there is a index.phtml within it; this means that `http://example.com/item-one/item-two` will first attempt to resolve to `resources\views\pages\item-one\item-two\index.phtml`.

If the first check fails it will then see if the view file exists directly, in the case of the previous example it would then attempt to resolve to `resources\views\pages\item-one\item-two.phtml`.

If both checks fail it passes through to the default Slim3 `renderHtmlNotFoundOutput` method.

With this simple functionality you can build quite complex websites without having to configure any granular routes!

Roadmap
-------

[](#roadmap)

I found myself needing a simple, yet opinionated, skeleton project to build out other applications using Slim3. For larger projects I tend to go for Laravel5 and so the folder structure is heavily inspired by that framework.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

4

Last Release

3680d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/464699?v=4)[Simon Dann](/maintainers/carbontwelve)[@carbontwelve](https://github.com/carbontwelve)

---

Top Contributors

[![carbontwelve](https://avatars.githubusercontent.com/u/464699?v=4)](https://github.com/carbontwelve "carbontwelve (60 commits)")

---

Tags

frameworkslimmvcslim-starter

### Embed Badge

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

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

###  Alternatives

[xsanisty/slim-starter

Slim Framework in MVC environment with Eloquent as database provider and Twig as template engine

2852.1k](/packages/xsanisty-slim-starter)[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)
