You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
Austen McDonald edited this page Nov 11, 2016
·
1 revision
Modules extend the core or provide some additional functionality. Scenes are modules, providing Scene models to the database and code to handle user interaction with those scenes. You can also imagine any number of utility modules, like analytic event aggregators or whole new permission systems.
Modules are installed via Composer packages. Composer
is a common dependency manager for PHP, providing centralized storage and easy
installation of code. We are hosting our own repository of packages at http://code.lot.gd.
To install a new module, add it as a Composer dependency. See
the example of specifying the HelloWorld module in the
crate-sample repo.
Run composer update to install the module's code.
Finally, register any newly added modules with the core by using the daenerys tool:
vendor/bin/daenerys module:register
Note: modules are added to crates, so these instructions are to be run from a crate
directory.