Extras catalogue
ComposerX
Latest release 13 years ago (August 19, 2013).
composerx
About
This Extra allows you to use any of the lovely libraries packaged using Composer in your MODX project.
How does it do that?
It integrates Composer's autoloader into MODX via a plugin.
Why is it useful?
- It's useful if you're familiar with a 3rd-party system you want to use within MODX or if you're integrating existing code.
- Other extra authors will bind it useful to use as a sub-package (needs more work)
Until we've used it more we aren't entirely sure :) Consider it a proof of concept for now.
Do show us how you're using it!
Installation & usage
Install via the Package Manager, which will set up the plugin for you.
Afterwards, navigate to `core/components/composerx` and edit `composer.json` to include the modules you want to install (Packagist is a great source of Composer packages). You can delete the existing (sample) contents of this file.
Then from the command-line run:
$ php composer.phar update
To use libraries installed using Composer in your snippets/plugins, you need to apply this patch to MODX. Hopefully it will be included in Revolution 2.3.
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer pbowyer
- Latest release August 19, 2013 (13 years ago)
- First seen in SiteDash August 16, 2013 (13 years ago)
- License MIT
- MODX support 2.2 – 2.2
- Databases MySQL , SQL Server
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0-beta1 |
August 19, 2013
13 years ago |
— |
|
No matching releases. |
|||