Installing Mouf

Welcome to the Mouf 2 framework

What is Mouf?

Mouf is a PHP dependency injection framework with a nice web-based user interface. It is combining a Inversion of control (IOC) framework and a powerful extension mechanism so that any package can extend the web-based user interface with their own features.

The goal of Mouf is to help you use and re-use components. By itself, it does not provide anything useful. However, it will help you download and install libraries of components, and bind those components together.


Mouf 2 is provided as a Composer package. The name of the package is mouf/mouf. Follow the installation guide to learn more.


Mouf provides a user interface to help you manage your composer dependencies. Using an extension to the composer.json file format, you can extend the Mouf user interface to add features to help your developer. - You are developing a cache package? Add a "Purge" button in Mouf UI to let your developers purge the cache - You are developing a database connection? Add a screen to create a new database connection, etc...


Each class can be injected using the Mouf dependency injection features. Because it is graphical and easy to use, you can push dependency injection to new limits. And if you want a nice graphical representation, you can add annotations to your code to add custom logos for your classes, etc...

To learn more about using dependency injection, please read the Mouf Using Components guide. To learn more about Mouf annotations, please read the Mouf Building Components guide.

Installing Mouf

Found a typo? Something is wrong in this documentation? Just fork and edit it!