How can I install this without composer, I am thinking that is my problem. I tried manually adding the lib folder to the extension directory, but this doesn't seem to fix it. I am on MediaWiki Version 1.31, with the latest Elastica. Here is my backtrace when trying to access Version special page:
[XAg4JO4UlqXF1vZqMIvoVAAAAAY] /index.php/Special:Version Error from line 87 of /opt/mediawiki/extensions/Elastica/includes/ElasticaConnection.php: Class 'Elastica\Client' not found
Backtrace:
#0 /opt/mediawiki/extensions/Elastica/includes/ElasticaConnection.php(59): ElasticaConnection->getClient()
#1 /opt/mediawiki/extensions/CirrusSearch/includes/Connection.php(129): ElasticaConnection->setConnectTimeout(integer)
#2 /opt/mediawiki/extensions/CirrusSearch/includes/Hooks.php(698): CirrusSearch\Connection->__construct(CirrusSearch\SearchConfig)
#3 /opt/mediawiki/extensions/CirrusSearch/includes/Hooks.php(409): CirrusSearch\Hooks::getConnection()
#4 /opt/mediawiki/includes/Hooks.php(177): CirrusSearch\Hooks::onSoftwareInfo(array)
#5 /opt/mediawiki/includes/Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#6 /opt/mediawiki/includes/specials/SpecialVersion.php(241): Hooks::run(string, array)
#7 /opt/mediawiki/includes/specials/SpecialVersion.php(139): SpecialVersion::softwareInformation()
#8 /opt/mediawiki/includes/specialpage/SpecialPage.php(522): SpecialVersion->execute(NULL)
#9 /opt/mediawiki/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL)
#10 /opt/mediawiki/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Title, RequestContext)
#11 /opt/mediawiki/includes/MediaWiki.php(861): MediaWiki->performRequest()
#12 /opt/mediawiki/includes/MediaWiki.php(524): MediaWiki->main()
#13 /opt/mediawiki/index.php(42): MediaWiki->run()
#14 {main}