When the supported Moodle version allows it, place new external API code under classes/external/ with proper namespacing instead of adding new logic to legacy externallib.php. Treat externallib.php as ...
A development environment for Moodle plugin work, built so that every dev tool — PHP, Composer, Postgres/MariaDB, Node, even your AI coding agent — lives inside a per-project runtime container, not on ...