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.
Install using Composer:
composer require utopia-php/http
require_once __DIR__.'/../vendor/autoload.php';
use Utopia\DI\Container;
TBD
Utopia HTTP requires PHP 8.1 or later. We recommend using the latest PHP version whenever possible.
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.
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.
The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php