Package Description
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!
Usage/Installation Instructions
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.
Details
- Developer(s)
- pbowyer
- Released
- 2013-08-19
- First seen
- 2013-08-16
- License
- MIT
- Supported databases
- MySQL SQL Server
- Minimum MODX Requirement
- 2.2
ComposerX Releases
Vendor | Signature | Released on |
---|---|---|
MODX.com | 1.0-beta1 | 2013-08-19 (11 years ago) |