Login to your account at the Yireo Shop. Navigate to My Account and then My Software. In the overview of software subscriptions, pick the one of your choice and click Details. On the detail page, you can find details of your software subscription, including the license key. Copy the license key. Below, it is referenced as YOURLICENSE
.
Run the following commands in your Magento project. Replace YOURDOMAIN
with the domain name of your Magento instance (for instance, example.com
) and YOURLICENSE
with the actual license key.
composer config --auth http-basic.composer.yireo.com YOURDOMAIN YOURLICENSE
After this, you should have a auth.json
file with the following details. Note that this file could be located in the root of your Magento directory, in the home of composer (identified with the shell variable $COMPOSER_HOME
) or theoretically elsewhere. You probably know best:
{
"http-basic": {
"composer.yireo.com": {
"username": "YOURDOMAIN",
"password": "YOURLICENSE"
}
}
}
composer.yireo.com
repositoryNow, configure the composer.yireo.com
repository in your main composer.json
by running the following command:
composer config repositories.yireo composer https://composer.yireo.com/
After this, your composer.json
should be including a repository like the following (and note that the rest of your composer.json
file is not taken into account here):
{
"repositories": {
"yireo-composer": {
"type": "composer",
"url": "https://composer.yireo.com/"
}
}
}
Next, install the main Loki Checkout module (or other modules):
composer require yireo/magento2-loki-checkout
Note that dev-main
or specific commits do not work via the composer.yireo.com
API. If you want to use the latest development version, use @dev
.
Enable the relevant modules (and its dependencies):
bin/magento module:enable Yireo_LokiCheckout Yireo_LokiComponents Yireo_CspUtilities Yireo_HyvaThemeAutoRegistration
Other Loki Checkout composer packages can be found by navigating with your browser to https://composer.yireo.com.
All Loki Checkout modules can also be installed with a single one-liner command:
bin/magento module:enable `bin/magento module:status | grep Yireo_LokiCheckout`