Skip to content

weew/router-container-aware

Repository files navigation

Router container integration

Build Status Code Quality Test Coverage Version Licence

Table of contents

Installation

composer require weew/router-container-aware

Introduction

This package integrates weew/router with weew/container and allows filters, parameter resolvers, etc. to rely on dependency injection and sharing of data trough the container.

Usage

Simply create a container aware instance of Router and pass in an instance of IContainer.

$commander = new Weew\Router\ContainerAware\Router(new Container());

About

Container integration for the weew/router package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages