PHPackages                             moz-morris/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. [Templating &amp; Views](/categories/templating)
4. /
5. moz-morris/slim-skeleton

ActiveLibrary[Templating &amp; Views](/categories/templating)

moz-morris/slim-skeleton
========================

A Slim Framework skeleton using Twig &amp; Sass

v1.0.0(13y ago)121392MITPHP

Since Jan 20Pushed 10y ago2 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

My [Slim](http://www.slimframework.com/) Skeleton App
=====================================================

[](#my-slim-skeleton-app)

This is my somewhat opinionated [Slim](http://www.slimframework.com/) skeleton app. It uses [my own fork](https://github.com/MozMorris/Slim/tree/webroot) of the Slim framework, [Twig](http://twig.sensiolabs.org/) for templating and [Sass](http://sass-lang.com/) for stylesheets.

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

[](#installation)

Assuming you've got Composer installed...

```
composer create-project moz-morris/slim-skeleton [app-name]

```

...replacing `[app-name]` with directory where the app will be generated. You can set your document root to that folder. Keep reading more some further explanation.

Slim &amp; Rewrites
-------------------

[](#slim--rewrites)

The fork of Slim this app implements allows you to use rewrites to route requests to a subfolder whilst maintaining URLs that don't include the subfolder name. This method is supported by all of the other frameworks I've used. A little surprising then that Slim doesn't support this particular structure.

The app is set up so that you can point Apache at the root folder and with some .htaccess rewrites, all requests will be sent to the /public/ folder. I like this. It's useful when you're deploying to an environment where the document root can't be changed or perhaps you're looking to keep your web root as tidy as possible.

Twig
----

[](#twig)

I like the [Django](https://www.djangoproject.com/) template language and Twig is really similar. So, Twig templates it is. There's some config happening in `public/index.php` and the cached templates are written to `app/tmp`. You'll need to `chmod` that folder.

Sass
----

[](#sass)

Sass is awesome. It's even better with [Compass](http://compass-style.org/). There's a `config.rb` inside of the `public/sass` folder so it's ready and waiting for the `compass watch` command.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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

Unknown

Total

1

Last Release

4867d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9de031362ec823dc8e1e2c32122ec4ca6dee58e3c691af40ed76ec5292805427?d=identicon)[MozMorris](/maintainers/MozMorris)

---

Top Contributors

[![mozmorris](https://avatars.githubusercontent.com/u/156303?v=4)](https://github.com/mozmorris "mozmorris (8 commits)")[![cleardevice](https://avatars.githubusercontent.com/u/1013286?v=4)](https://github.com/cleardevice "cleardevice (1 commits)")

---

Tags

twigslimsassSkeleton

### Embed Badge

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

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91492.0M315](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36763.2M221](/packages/twig-intl-extra)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[twig/string-extra

A Twig extension for Symfony String

22046.0M133](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

22918.5M55](/packages/twig-cssinliner-extra)[symfony/ux-twig-component

Twig components for Symfony

21914.8M162](/packages/symfony-ux-twig-component)

PHPackages © 2026

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