Popularity
4.3
Growing
Activity
6.8
Growing
271
49
45

Description

Purpose of the Dependecy Injection (DI) is to free classes from the responsibility for obtaining objects that they need for its operation (these objects are called services). To pass them these services on their instantiation instead.

Nette DI is one of the most interesting part of framework. It is compiled DI container, extremely fast and easy to configure.

Let's have an application for sending newsletters. The code is maximally simplified and is available on the GitHub.

We have the object representing email:

Code Quality Rank: L4
Monthly Downloads: 249,452
Programming language: PHP
License: BSD 1-Clause License

Nette DI alternatives and related libraries

Based on the "Dependency Injection" category

Do you think we are missing an alternative of Nette DI or a related project?

Add another 'Dependency Injection' Library

Nette DI Recommendations

There are no recommendations yet. Be the first to promote Nette DI!

Have you used Nette DI? Share your experience. Write a short recommendation and Nette DI, you and your project will be promoted on Awesome PHP.
Recommend Nette DI

Recently added Nette DI resources

Do you know of a usefull tutorial, book or news relevant to Nette DI?
Be the first to add one!