Skip to content

Sample PHP application using container and DI - Following PSR-11

License

Notifications You must be signed in to change notification settings

albuquerque53/php-di-example

Repository files navigation

💉 Dependency Injection Example

In this project, I worked DI and Container concepts in pure PHP.

💻 Technical specification

In this project I'm working with some concepts and patterns such as...

  • Self-made containers following PSR-11 Standard.
  • Dependency injection through application.
  • Clean architecture.
  • Repository pattern.

🏃 How you can run it?

First of all, this is a static application, everytime you run it you'll get the same result.

  1. Install the dependencies:
make install
  1. Run all the tests to make sure that everything's ok:
make test 
  1. Finally, run the application:
make run

About

Sample PHP application using container and DI - Following PSR-11

Topics

Resources

License

Stars

Watchers

Forks