PHPackages                             embarknow/injections - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. embarknow/injections

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

embarknow/injections
====================

Injectior definition and configuration pattern.

v1.0.1(9y ago)029MITPHPPHP &gt;=5.6

Since Jul 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/embarknow/injections)[ Packagist](https://packagist.org/packages/embarknow/injections)[ RSS](/packages/embarknow-injections/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

EmbarkNow Injections
====================

[](#embarknow-injections)

Building better software requires a better system of bootstrapping applications. Dependency injection is a principal that we should all be aware of, and using. Even with this being the case, configuring an injection system is a difficult task to get right first time.

### Config file Hell

[](#config-file-hell)

Configuring an injection system can lead to multiple config files which define the inner functionality. These are untestable.

### Bootstrap Hell

[](#bootstrap-hell)

Configuring an injection system can lead to a huge bootstrap file of internal logic just to define the functionality. This is untestable.

### Using Injections

[](#using-injections)

Injections are small invokable testable classes that define the smallest details of your application. You have to define your data layer in the injector? Write an Injection. You have to define your Twitter API? Write an Injection.

EmbarkNow Injections don't have any ties to any implementation of the dependency injection principle, so you're free to use any, and let this small package aid in your application bootstrap process.

What are Injections really?
---------------------------

[](#what-are-injections-really)

An Injection is a class that is invokable, and much like the popular middleware pattern. It recieves input in the form of an injector implementation instance. This could be any implementation; We prefer Auryn.

The Injection is then allowed to make changes to that instance by using available methods.

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

[](#installation)

```
composer require embarknow/injections

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

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

Total

2

Last Release

3639d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7386507?v=4)[Embark Media](/maintainers/embarknow)[@embarknow](https://github.com/embarknow)

---

Top Contributors

[![designermonkey](https://avatars.githubusercontent.com/u/221344?v=4)](https://github.com/designermonkey "designermonkey (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/embarknow-injections/health.svg)

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

###  Alternatives

[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M527](/packages/drupal-core-composer-scaffold)[sebastianfeldmann/git

PHP git wrapper

487.4M20](/packages/sebastianfeldmann-git)[integer-net/magento2-sansec-watch

Sansec Watch integration for Magento 2

40190.3k](/packages/integer-net-magento2-sansec-watch)

PHPackages © 2026

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