PHPackages                             hackweekender-aw/spryker-autowiring - 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. hackweekender-aw/spryker-autowiring

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

hackweekender-aw/spryker-autowiring
===================================

This package enables autowiring for Spryker

011PHP

Since Jul 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/RodinVasily/spryker-autowiring)[ Packagist](https://packagist.org/packages/hackweekender-aw/spryker-autowiring)[ RSS](/packages/hackweekender-aw-spryker-autowiring/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Autowiring for Spryker
======================

[](#autowiring-for-spryker)

\#Hackweekender2023

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

[](#installation)

Install it with composer

```
composer require hackweekender-aw/spryker-autowiring

```

Add a namespace to your config

```
$config[KernelConstants::CORE_NAMESPACES] = [
    [...]
    'AW'
];

```

Usage
-----

[](#usage)

### Yves

[](#yves)

- Include `\AW\Yves\Kernel\ClassResolverAwareTrait` in the controller
- Call `$this->resolveClass(AmazingYvesClass::class)->yourAmazingMethod()`

### Client

[](#client)

- Include `\AW\Client\Kernel\ClassResolverAwareTrait` in the client
- Call `$this->resolveClass(AmazingClientClass::class)->yourAmazingMethod()`

### Zed

[](#zed)

- Include `\AW\Zed\Kernel\ClassResolverAwareTrait` in the facade
- Call `$this->resolveClass(AmazingZedClass::class)->yourAmazingMethod()`

### Manually configure DI

[](#manually-configure-di)

- Make the dependency provider of your module to implement the interface `\AW\Shared\Kernel\DependencyInjection\ConfigurableDependencyInjectionInterface`
- Define the custom definitions using

```
public function getDependencyInjectionConfig(): array
{
    return [
        AmazingCartOperationInterface::class => DI\autowire(AmazingCartOperation::class)
            ->constructorParameter('postOperationPlugins', $this->getPostOperationPlugins())
    ];
}

```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67532?v=4)[rodin](/maintainers/rodin)[@rodin](https://github.com/rodin)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hackweekender-aw-spryker-autowiring/health.svg)

```
[![Health](https://phpackages.com/badges/hackweekender-aw-spryker-autowiring/health.svg)](https://phpackages.com/packages/hackweekender-aw-spryker-autowiring)
```

###  Alternatives

[jasny/bootstrap

The missing bootstrap components

2.7k75.2k1](/packages/jasny-bootstrap)

PHPackages © 2026

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