PHPackages                             vhchung/slim3-skeleton-mvc - 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. vhchung/slim3-skeleton-mvc

ActiveProject[Framework](/categories/framework)

vhchung/slim3-skeleton-mvc
==========================

Simple Slim Framework 3 skeleton with Twig, Monolog, Doctrine.

87643PHP

Since Jan 20Pushed 10y ago3 watchersCompare

[ Source](https://github.com/vhchung/slim3-skeleton-mvc)[ Packagist](https://packagist.org/packages/vhchung/slim3-skeleton-mvc)[ RSS](/packages/vhchung-slim3-skeleton-mvc/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Slim 3 MVC Skeleton
===================

[](#slim-3-mvc-skeleton)

This is a simple skeleton project for Slim 3 that includes Doctrine, Twig, Flash messages and Monolog.

Base on

Prepare
-------

[](#prepare)

1. Create your project:

    ```
    `$ composer create-project -n -s dev vhchung/slim3-skeleton-mvc your-app`

    ```
2. Execute `your-app\sql\blog.sql` to create sample database (MySQL)
3. Change database connection settings at `entities_generator.php` and `app/settings.php`
4. Generate models (Doctrine entities):

```

$ cd your-app
$ php entities_generator.php

```

Add namespace for each model: `namespace App\Model;`

Notice: Delete all models before re-generate to update models.

### Run it:

[](#run-it)

1. `$ cd your-app`
2. `$ php -S 0.0.0.0:8888 -t public/`
3. Browse to

### Notice

[](#notice)

Set `logs` and `cache` folder permission to writable when deploy to production environment

Key directories
---------------

[](#key-directories)

- `app`: Application code
- `app/src`: All class files within the `App` namespace
- `app/templates`: Twig template files
- `cache/twig`: Twig's Autocreated cache files
- `log`: Log files
- `public`: Webserver root
- `vendor`: Composer dependencies
- `sql`: sql dump file for sample database

Key files
---------

[](#key-files)

- `public/index.php`: Entry point to application
- `app/settings.php`: Configuration
- `app/dependencies.php`: Services for Pimple
- `app/middleware.php`: Application middleware
- `app/routes.php`: All application routes are here
- `app/src/controllers/HomeController.php`: Controller class for the home page
- `app/src/models/Post.php`: Entity class for post table
- `app/templates/home.twig`: Twig template file for the home page

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7991775?v=4)[vhchung](/maintainers/vhchung)[@vhchung](https://github.com/vhchung)

---

Top Contributors

[![vhchung](https://avatars.githubusercontent.com/u/7991775?v=4)](https://github.com/vhchung "vhchung (15 commits)")

### Embed Badge

![Health badge](/badges/vhchung-slim3-skeleton-mvc/health.svg)

```
[![Health](https://phpackages.com/badges/vhchung-slim3-skeleton-mvc/health.svg)](https://phpackages.com/packages/vhchung-slim3-skeleton-mvc)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M844](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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