PHPackages                             jyoungblood/slime - 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. jyoungblood/slime

ActiveProject

jyoungblood/slime
=================

Starter kit for building web apps with Slim 4

1.2.2(2y ago)213[4 issues](https://github.com/jyoungblood/slime/issues)MITHTML

Since May 26Pushed 2y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (9)Versions (6)Used By (0)

S L I M E
=========

[](#s-l-i-m-e)

### Starter kit for building web applications with Slim PHP Framework

[](#starter-kit-for-building-web-applications-with-slim-php-framework)

- Documentation:
- Demo SRC:

SLIME is a highly opinionated boilerplate for Slim applications. It's designed for solo developers working in "small scale" environments. While it produces a reliable final product, this configuration focuses on developer velocity, making it easy to provide value quickly without introducing unnecessary technical overhead.

What's included?
----------------

[](#whats-included)

- [Slim v4](https://www.slimframework.com/) (w/ [Slim PSR-7](https://github.com/slimphp/Slim-Psr7))
- Handlebars templating - [Lightncandy](https://github.com/zordius/lightnCandy)
- View rendering helpers - [Slime Render](https://github.com/jyoungblood/slime-render)
- Helpful Vanilla PHP abstraction libraries:

    - Database handlers - [DB Kit](https://github.com/jyoungblood/dbkit)
    - Cookie handlers - [Cookie](https://github.com/jyoungblood/cookie)
    - Simple HTTP client - [HTTP Request](https://github.com/jyoungblood/http-request)
    - Misc utility functions - [X-Utilities](https://github.com/jyoungblood/x-utilities)
- Minimal front-end boilerplate &amp; utility library options - [scratch](https://github.com/jyoungblood/scratch)
- Simple organization - folders for css, js, images, templates, and controllers
- Blank CSS and JS placeholder files
- [.env](https://github.com/jyoungblood/slime/blob/master/.env.example) - helpful basic variables and settings, pre-wired with [phpdotenv](https://github.com/vlucas/phpdotenv)
- [index.php](https://github.com/jyoungblood/slime/blob/master/index.php) - initialized Slim application w/ middleware, db connection, and default 404 configuration
- [.htaccess](https://github.com/jyoungblood/slime/blob/master/.htaccess) - routes all non-file urls to index, forces https, and uses gzip for static assets (if available)
- [.gitignore](https://github.com/jyoungblood/slime/blob/master/.gitignore) - ignores `/vendor`, `.env`, `.vscode`, `error_log`, and `.DS_Store`

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

[](#requirements)

- Apache
- PHP &gt;= 7.4
- PDO-compatible database (if using [DB handlers](https://github.com/jyoungblood/dbkit))

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

[](#installation)

Easy install with composer:

```
composer create-project jyoungblood/slime new-project-name

```

Initialize the .env file, using the boilerplate example:

```
mv .env.example .env

```

Usage
-----

[](#usage)

Although SLIME is currently not intended for local development workflows, you're welcome to try your luck with PHP's built-in server:

```
php -S localhost:6969

```

Alternatively, you could use [Herd](https://herd.laravel.com/), which is an excellent tool for local development.

See [controllers/index.php](https://github.com/jyoungblood/slime/blob/master/controllers/index.php) for an example of routing and template rendering.

See [templates/index.html](https://github.com/jyoungblood/slime/blob/master/templates/index.html) and [templates/\_layouts/base.html](https://github.com/jyoungblood/slime/blob/master/templates/_layouts/base.html) for examples using handlebars and layouts.

Helpful resources:

- [Handlebars Cookbook](https://zordius.github.io/HandlebarsCookbook/)
- [Slim v4 Routing](https://www.slimframework.com/docs/v4/objects/routing.html)
- [DB Kit CRUD operations](https://github.com/jyoungblood/dbkit)
- [Tachyons Docs](https://tachyons.io/docs/)

Check out [slime-demo](https://github.com/jyoungblood/slime-demo) to see more examples of the kind of things you can do with SLIME!

---

Slime is heavily inspired by [STEREO](https://stereotk.com/), an older toolkit I've assembled and maintained, which has helped me to be very productive and make a decent living over the years.

I hope these tools and the workflows they enable can help some of you as much as they've helped me : )

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

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

Total

5

Last Release

784d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4130bfc70d308f890899a0c223f9888271f0fd3f91879b09558ba696862d8d4?d=identicon)[jyoungblood](/maintainers/jyoungblood)

---

Top Contributors

[![jyoungblood](https://avatars.githubusercontent.com/u/56104?v=4)](https://github.com/jyoungblood "jyoungblood (32 commits)")

---

Tags

boilerplatestarterhandlebarsslim4lightncandyslim-framework

### Embed Badge

![Health badge](/badges/jyoungblood-slime/health.svg)

```
[![Health](https://phpackages.com/badges/jyoungblood-slime/health.svg)](https://phpackages.com/packages/jyoungblood-slime)
```

###  Alternatives

[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[proai/laravel-handlebars

A Laravel wrapper for LightnCandy for using the Handlebars (and Mustache) template engine.

38204.7k](/packages/proai-laravel-handlebars)[maurobonfietti/slim4-api-skeleton

Useful skeleton for RESTful API development, using PHP and Slim 4.

1392.3k](/packages/maurobonfietti-slim4-api-skeleton)[lucatacconi/crunz-ui

User interface for lavary/crunz. Integrate Crunz library and funtions: Tabular, monthly or weekly interface to view the scheduled and executed tasks. Quick display of the execution result of the tasks that have been executed (Indicator icons easily show the result). Upload, download, edit or delete tasks. Forced run of the task, even outside the scheduled time with eventual display of the log once the execution is completed. It can be used with integrated Crunz or with a version of Crunz already installed on the system

161.5k](/packages/lucatacconi-crunz-ui)

PHPackages © 2026

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