PHPackages                             touta/nasc-di - 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. touta/nasc-di

ActiveLibrary[Framework](/categories/framework)

touta/nasc-di
=============

Dependency injection container with explicit, inspectable wiring for the Touta PHP ecosystem

v0.1.0(1mo ago)01—0%1MITPHPPHP ^8.3

Since Mar 21Pushed 1mo agoCompare

[ Source](https://github.com/toutaio/nasc-di)[ Packagist](https://packagist.org/packages/touta/nasc-di)[ RSS](/packages/touta-nasc-di/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (1)

Nasc DI
=======

[](#nasc-di)

Dependency injection container with explicit, inspectable wiring for the Touta PHP ecosystem.

Install
-------

[](#install)

```
composer require touta/nasc-di
```

Usage
-----

[](#usage)

```
use Touta\Nasc\Container;

$container = Container::create()
    ->bind(LoggerInterface::class, fn() => new FileLogger('/tmp/app.log'))
    ->bind('db.host', fn() => 'localhost');

$logger = $container->resolve(LoggerInterface::class); // Success(FileLogger)
```

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance96

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

49d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce6f74e928eeabfd45b6da43be7afd06ef132aff03e4b0bd710b000d54b93863?d=identicon)[nestormata](/maintainers/nestormata)

---

Top Contributors

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

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/touta-nasc-di/health.svg)

```
[![Health](https://phpackages.com/badges/touta-nasc-di/health.svg)](https://phpackages.com/packages/touta-nasc-di)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M255](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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