PHPackages                             lhsazevedo/slim-restatic-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. [HTTP &amp; Networking](/categories/http)
4. /
5. lhsazevedo/slim-restatic-skeleton

ActiveProject[HTTP &amp; Networking](/categories/http)

lhsazevedo/slim-restatic-skeleton
=================================

A Slim Framework skeleton application with Laravel like facades

1.0.1(7y ago)09MITPHPPHP &gt;=5.5.0

Since Jan 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/lhsazevedo/Slim-ReStatic-Skeleton)[ Packagist](https://packagist.org/packages/lhsazevedo/slim-restatic-skeleton)[ Docs](http://github.com/lhsazevedo/Slim-ReStatic-Skeleton)[ RSS](/packages/lhsazevedo-slim-restatic-skeleton/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Slim Framework 3 Skeleton Application with Facades
==================================================

[](#slim-framework-3-skeleton-application-with-facades)

Use this skeleton application to quickly setup and start working on a new Slim Framework 3 application with Facades.

This skeleton application was built for Composer. This makes setting up a new Slim Framework application quick and easy.

Install the Application
-----------------------

[](#install-the-application)

Run this command from the directory in which you want to install your new Slim Framework application.

```
php composer.phar create-project lhsazevedo/slim-restatic-skeleton [my-app-name]

```

Replace `[my-app-name]` with the desired directory name for your new application. You'll want to:

- Point your virtual host document root to your new application's `public/` directory.
- Ensure `logs/` is web writeable.

To run the application in development, you can run these commands

```
cd [my-app-name]
php composer.phar start

```

Run this command in the application directory to run the test suite

```
php composer.phar test

```

Create Facades
--------------

[](#create-facades)

Add some dependency to `src/dependencies.php`:

```
// database
$container['db'] = function ($c) {
	$settings = $c->get('settings')['database'];
    return new Foo\Database($settings);
};
```

Create an facade for your new dependency:

```
// src/Facades/Db.php

namespace App\Facades
{
    use ReStatic\StaticProxy;

    class Db extends StaticProxy
    {
        public static function getInstanceIdentifier()
        {
            return 'db';
        }
    }
}
```

Use it in your controllers:

```
Db::select('*')->from('users');
```

That's it! Now go build something cool.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

2

Last Release

2657d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/011e68c7a2cf863af3a150252c213425d2cc638eec08afc51280bdfddf51732b?d=identicon)[lhs\_azevedo](/maintainers/lhs_azevedo)

---

Top Contributors

[![lhsazevedo](https://avatars.githubusercontent.com/u/7695608?v=4)](https://github.com/lhsazevedo "lhsazevedo (3 commits)")

---

Tags

restrouterpsr7facademicroframework

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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