The last paragraph in that article clearly says you can't install extra libraries. It also explains why you're seeing this behavior — Joomla does not ship composer.json. Thus any composer command you run creates a new project from scratch with a new composer.json and so all existing packages are uninstalled.
To autoload classes you have to load just the vendor/autoload.php file.
To autoload classes you have to load just the vendor/autoload.php file.
Statistics: Posted by SharkyKZ — Tue Mar 26, 2024 6:24 am