https://github.com/gemblue/simpledependencyinjection
Step by step how to build your own dependency injection / service container.
https://github.com/gemblue/simpledependencyinjection
dependency-injection php-di
Last synced: 12 months ago
JSON representation
Step by step how to build your own dependency injection / service container.
- Host: GitHub
- URL: https://github.com/gemblue/simpledependencyinjection
- Owner: gemblue
- Created: 2020-04-24T16:51:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-25T04:22:36.000Z (about 6 years ago)
- Last Synced: 2025-03-05T20:57:13.175Z (over 1 year ago)
- Topics: dependency-injection, php-di
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SimpleDependencyInjection
Step by step how to build **your own** dependency injection / service container. For learning purpose, not for production.
### What Is
You can read about DI here https://en.wikipedia.org/wiki/Dependency_injection.
Topic
- Reflection Class
- Recursive
- DI
- Service container
### Credit
- https://indigotree.co.uk/automatic-dependency-injection-with-phps-reflection-api/
- https://medium.com/tech-tajawal/dependency-injection-di-container-in-php-a7e5d309ccc6
- https://www.php.net/manual/en/class.reflectionclass.php
- https://symfony.com/doc/current/service_container.html
- http://php-di.org/
- https://gist.github.com/MustafaMagdi/2bb27aebf6ab078b1f3e5635c0282fac