• Services

Using Composer

Includable modules can depend on Composer packages. The only requirement for this to work is the default composer.json file in the main directory of your module.

Note that Includable will ignore and overwrite existing directories with the name vendor in the root of the module. It might fire a warning to this regard when using the CLI to sync a project with the Includable development server.

Includable also ignores the composer.lock file in the development environment (by executing composer update), but honours it in the production environment (by executing composer install), if it exists.