WireBox can be installed as a standalone framework or included with the latest ColdBox Platform release, so it is unnecessary if you are within a ColdBox application.
- Adobe ColdFusion 2018+
- Lucee 5+
You can leverage CommandBox to install the standalone version of WireBox with a simple command:
# Latest Version
box install wirebox
# Bleeding Edge
box install wirebox@be
This will install WireBox as a dependency in your application into a folder called wirebox
. You can then leverage the standalone namespace within your application: wirebox.system.ioc
.
You will need the following mapping that points to the folder you installed wirebox
into:
this.mappings[ "/wirebox" ] = "path.to.wirebox";
This will ensure that the appropriate libraries can find each other.
{% hint style="danger" %} Remember that this only applies to the standalone approach. {% endhint %}
wirebox.system.ioc
coldbox.system.ioc