Hi –
I'm an experienced LAMP developer who is evaluating Moodle.
I'm hoping to install Moodle via Composer, so that version control and upgrades will be cleaner/easier.
Googling for "moodle composer" turns up this page:
https://docs.moodle.org/dev/Composer
However, when I try this, it just clones the GitHub repo into vendor/moodle/moodle.
I guess I could map my Apache virtualhost's document root to that directory, but that just seems...weird and wrong.
I'm used to Laravel and similar frameworks, which allow you to scaffold a new project via composer create-project. This plays beautifully with source control, and upgrading Laravel itself is a breeze.
So I did some more Googling about using Composer with Moodle. It sounds like this isn't commonly done. It sounds like there is some traction in the Moodle developer community for adding official Composer support, but we're still figuring out exactly what that will look like. Is that fair/accurate?
Or – maybe I'm wrong, and a full-fledged Composer workflow is already possible with Moodle? If so, can anyone point me to some documentation? I haven't been able to find anything definitive.
Thanks!