Readme: About Box
Box is a PHP dependency injection container that abstracts project logic relations to make the code more flexible, testable, and maintainable.
Documentation
The separated documentation repository also has the user-friendly output and contains information about the following key features:
Default Arguments
Predefine constructor values for specific parameters of a class. Whenever the container creates an instance, these defaults are automatically applied, reducing boilerplate and ensuring consistent object initialization.
On-Demand Arguments
Provide temporary arguments to override default constructor values. This feature allows you to customize dependencies on the fly without changing the predefined defaults.
Recyclable Instances
Mark classes as shareable so the container instantiates them only once and returns the same object reference for subsequent requests and injections.
Contribution
Each merge request serves as confirmation to transfer ownership to the project and must meet the following criteria:
- The code is your own intellectual property.
- Neutral content. Free from political bias, for example.
- Pure PHP without exotic extensions.
See the contributing file if these criteria apply to you.
License
Box - PHP Dependency Injection Container
Copyright © Valvoid
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see licenses.