PHPackages                             ed.suharev/slick-framework - 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. ed.suharev/slick-framework

ActiveLibrary[Framework](/categories/framework)

ed.suharev/slick-framework
==========================

Simple PHP 5.3 compatible framework based off Slim 2 Framework and RKA Controller

1.0.0(7y ago)09BSD-3-ClausePHPPHP &gt;=5.3

Since Mar 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/eduard-sukharev/slick-framework)[ Packagist](https://packagist.org/packages/ed.suharev/slick-framework)[ Docs](http://github.com/eduard-sukharev/slick-framework)[ RSS](/packages/edsuharev-slick-framework/feed)WikiDiscussions master Synced 1mo ago

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

Slick Framework
===============

[](#slick-framework)

This framework is based off the [Slim Framework](http://www.slimframework.com/), but adds some conveniences, like the ability to instantiate controllers with action methods wherever you would use a closure when routing (this feature came directly from [rka-slim-controller](https://github.com/akrabat/rka-slim-controller)).

The controller can optionally be loaded from DI container, allowing you to inject dependencies as required.

Mostly this copy-pastes and rewrites only base Slim app class, so this still depends on Slim2 framework. It requires **PHP 5.3** at least, assumes that you install it with composer and use Composer's autoloader.

Additional to Slim2 features
----------------------------

[](#additional-to-slim2-features)

- Configuring routes with Yaml file
- Support for Controller classes in routing config

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

[](#installation)

```
composer require ed-sukharev/slick-framework

```

Usage
-----

[](#usage)

Use the string format `{controller class name}:{action method name}`wherever you would usually use a closure:

e.g.

```
$app = new \Slick\Slick();
$app->get('/hello:name', 'App\IndexController:home');

```

You can also register the controller with Slim's DI container:

```
$app = new \Slick\Slick();

$app->container['App\IndexController'] = function ($container) {
    // Retrieve any required dependencies from the container and
    // inject into the constructor of the controller

    return new \App\IndexController();
};

$app->get('/', 'App\IndexController:index');

```

Controller class methods
------------------------

[](#controller-class-methods)

Just as Slim does, Slick passes controller actions it's arguments. Additionally, if the first argument of controller action is type hinted as `\Slim\Http\Request`, then actual request will be passed in as first parameter, and then the rest of Slim parameters. *Slick* assumes that you inject all dependencies into your controller inside DI container. For that rare case when you still need DI container, Slick provides `\Slick\ContainerAwareInterface`, which you may implement in controller, or better yet, extend you controller from `\Slick\SlickController`. Slick will set *PSR-11* compatible DI container into it.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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

2604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe156a4d3014d5a3329ed208a2be772052b0dc2d6c4622e01194470793618acd?d=identicon)[eduard-sukharev](/maintainers/eduard-sukharev)

---

Top Contributors

[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (10 commits)")[![eduard-sukharev](https://avatars.githubusercontent.com/u/3235378?v=4)](https://github.com/eduard-sukharev "eduard-sukharev (3 commits)")

---

Tags

frameworkslimcontrollerslickphp53

### Embed Badge

![Health badge](/badges/edsuharev-slick-framework/health.svg)

```
[![Health](https://phpackages.com/badges/edsuharev-slick-framework/health.svg)](https://phpackages.com/packages/edsuharev-slick-framework)
```

###  Alternatives

[slim/twig-view

Slim Framework 4 view helper built on top of the Twig 3 templating component

3708.0M208](/packages/slim-twig-view)[gotzmann/comet

Modern PHP framework for building blazing fast REST APIs and microservices

68816.2k1](/packages/gotzmann-comet)[juliangut/slim-controller

Slim Framework controller creator

2539.4k](/packages/juliangut-slim-controller)[akrabat/rka-slim-controller

Dynamically instantiated controller classes for Slim Framework

4827.3k1](/packages/akrabat-rka-slim-controller)[juliangut/slim-doctrine

Slim-Doctrine managers integration

153.7k](/packages/juliangut-slim-doctrine)

PHPackages © 2026

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