PHPackages                             utopia-php/registry - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. utopia-php/registry

ActiveLibrary[Framework](/categories/framework)

utopia-php/registry
===================

A simple dependency management library for PHP

0.6.0(3y ago)17248.9k↓20.2%6[1 PRs](https://github.com/utopia-php/registry/pulls)2MITPHPPHP &gt;=7.4

Since May 8Pushed 2y ago7 watchersCompare

[ Source](https://github.com/utopia-php/registry)[ Packagist](https://packagist.org/packages/utopia-php/registry)[ RSS](/packages/utopia-php-registry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (14)Used By (2)

Utopia Registry
===============

[](#utopia-registry)

[![Build Status](https://camo.githubusercontent.com/72a3c33d8984e4ae08459edad81314ca401201407118a710365e6f53e8e985e4/68747470733a2f2f7472617669732d63692e6f72672f75746f7069612d7068702f72656769737472792e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/utopia-php/registry)[![Total Downloads](https://camo.githubusercontent.com/498e82e94c5dd6973828991e162864cbd344a4520e1f3e44a8b6ee85f75debb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f72656769737472792e737667)](https://camo.githubusercontent.com/498e82e94c5dd6973828991e162864cbd344a4520e1f3e44a8b6ee85f75debb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f72656769737472792e737667)[![Discord](https://camo.githubusercontent.com/6e418910df1b6eb524c6cbd88dbaf5a5aa294316eeadcd963e11262a319f6321/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3536343136303733303834353135313234343f6c6162656c3d646973636f7264)](https://appwrite.io/discord)

Utopia Registry library is simple and lite library for managing dependency management and lazy load initialization of PHP objects or resources. This library is aiming to be as simple and easy to learn and use.

Although this library is part of the [Utopia Framework](https://github.com/utopia-php/framework) project it is dependency free and can be used as standalone with any other PHP project or framework.

Getting Started
---------------

[](#getting-started)

Install using composer:

```
composer require utopia-php/registry
```

script.php

```
