utopia-php / di
A simple and lite library for managing dependency injections
Installs: 3 391
Dependents: 4
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 1
Open Issues: 0
Requires
- php: >=8.2
Requires (Dev)
- laravel/pint: ^1.2
- phpbench/phpbench: ^1.2
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.5.25
- swoole/ide-helper: 4.8.3
README
Utopia DI library is simple and lite library for managing dependency injections. This library is aiming to be as simple and easy to learn and use. This library is maintained by the Appwrite team.
Although this library is part of the Utopia Framework project it is dependency free, and can be used as standalone with any other PHP project or framework.
Getting Started
Install using Composer:
composer require utopia-php/http
require_once __DIR__.'/../vendor/autoload.php'; use Utopia\DI\Container; TBD
System Requirements
Utopia HTTP requires PHP 8.1 or later. We recommend using the latest PHP version whenever possible.
More from Utopia
Our ecosystem supports other thin PHP projects aiming to extend the core PHP Utopia HTTP.
Each project is focused on solving a single, very simple problem and you can use composer to include any of them in your next project.
You can find all libraries in GitHub Utopia organization.
Contributing
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send us a pull request.
You can refer to the Contributing Guide for more info.
For security issues, please email security@appwrite.io instead of posting a public issue in GitHub.
Copyright and license
The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php