PHPackages                             rjd22/kohana-pimple - 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. rjd22/kohana-pimple

AbandonedArchivedLibrary[Framework](/categories/framework)

rjd22/kohana-pimple
===================

Kohana PHP Framework module for the Pimple dependency injection container

1.0.1(10y ago)23.2kMITPHPPHP &gt;=5.4

Since Jul 29Pushed 10y agoCompare

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

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Kohana Pimple Module
====================

[](#kohana-pimple-module)

[![Build Status](https://camo.githubusercontent.com/bcd0ce22b4a676d52e641016b04ab5ff31ad35ba6c66e9922ffc6d02b08bc169/68747470733a2f2f7472617669732d63692e6f72672f726a6432322f6b6f68616e612d70696d706c652e737667)](https://travis-ci.org/rjd22/kohana-pimple)

Pimple dependency injection container for the Kohana framework.

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

[](#installation)

To use this module simply require this module with composer:

```
composer require rjd22/kohana-pimple:"~1.0"

```

Then add the module to the kohana modules list in your `application/bootstrap.php`. Make sure you have a MODPATH or a vendor path that points to the composer vendor folder.

Configuration
-------------

[](#configuration)

You have register dependency config files with the pimple container. These config files are similar to the config files that kohana uses but it's required to register the full path in the `config/pimple.php`.

A sample of a dependency config file:

```
return [
    'dependency.one' => function ($c) {
        return new Dependency\One;
    },
    'dependency.two' => function ($c) {
        return new Dependency\Two($c['dependency.one']);
    },
];
```

Usage
-----

[](#usage)

You can use this dependency injection container by extending the your controllers with the `Kohana\Pimple\Controller\ContainerAwareController`this will enable you to access the container by calling the following to check if a dependency exists:

```
$this->container->has('dependency.one');
```

And the following to get the dependency:

```
$this->container->get('dependency.one');
```

If you don't like extending the controller you can also build the container yourself by calling:

```
$container = Container::factory();
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

3941d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e34204aa146ce4acefc5d13d943fc08da5d751b3074e55687717a61c1c421d9?d=identicon)[rjd22](/maintainers/rjd22)

---

Top Contributors

[![rjd22](https://avatars.githubusercontent.com/u/160743?v=4)](https://github.com/rjd22 "rjd22 (9 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rjd22-kohana-pimple/health.svg)

```
[![Health](https://phpackages.com/badges/rjd22-kohana-pimple/health.svg)](https://phpackages.com/packages/rjd22-kohana-pimple)
```

###  Alternatives

[corneltek/cliframework

Command-line framework for PHP

435160.5k16](/packages/corneltek-cliframework)[htmlburger/wpemerge

A micro framework which modernizes WordPress as a CMS development by providing tools to implement MVC and more.

456137.8k8](/packages/htmlburger-wpemerge)[kohana/database

The official Kohana module for database interactions, building queries, and prepared statements

158486.0k19](/packages/kohana-database)[kohana/image

The official Kohana module for manipulating images

103461.3k8](/packages/kohana-image)[kohana/auth

The official Kohana auth module

101227.2k9](/packages/kohana-auth)[kohana/cache

The official Kohana cache management module

76318.3k8](/packages/kohana-cache)

PHPackages © 2026

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