Install dispatcher as a product¶
To install dispatcher as a product, simply run the composer create-project command (assuming dispatcher as your project folder):
composer create-project comodojo/dispatcher dispatcher
Composer will install the dependencies and create the main configuration file. Once completed, configure the web server to use dispatcher/public as the document root.
Install dispatcher as a library¶
To install dispatcher as a library in your own project:
composer require comodojo/dispatcher.framework
If installed as a standalone library, no automatic configuration will be performed by composer. To create a custom project based on dispatcher is highly recommended to start cloning and changing the dispatcher project package.
To work properly, dispatcher requires a web server and PHP >= 5.6.0.