As Joomla! does not support PSR-4 Autoloading, installing Github plugin is a little bit trickier than the other plugins.

Our Github plugin depends of a library that needs to be installed through Composer, a package management tool for PHP. If you don’t know what is Composer, probably your site is not using it at all.

Include Composer in your Joomla! Site

To include Composer Joomla! In your Joomla! site , you will need two things:

  • SSH access where your Joomla! site is installed

  • Our composer.json file

Once you have accessed to your site using a SSH client, you need to run these commands:

php -r "copy('', 'composer-setup.php');"

php -r "if (hash_file('SHA384', 'composer-setup.php') === '55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

php composer-setup.php

php -r "unlink('composer-setup.php');"

These commands will generate a file called composer.phar that it’s a PHP executable file. Once we have Composer installed, then you need to place the composer.json file you have downloaded from us in the root on your Joomla! Installation and execute this command:

php composer.phar install

This command will download all the packages specified in the Composer file and it will put inside of libraries/vendor folder. You don’t need to worried about Joomla! libraries, they are included in our composer.json file too.


Add Github library to an existing Composer file

If you site already has a composer.json file, you probably know what is Composer and how to use it. So you just need to add a library to your Composer file executing this command:

php composer.phar require league/oauth2-github

Once you have the plugin dependencies installed via Composer, you can proceed to install the plugin as you normally do using Joomla! Administration interface. If you do not feel confident in installing this plugin yourself we offer to do it for you for €40 + VAT. Simply contact us and we should be able to do it within 2 working days.

Note: This plugin requires PHP 5.5+ as its dependencies need that requirement

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.