Adding the module
To add the Lyra payment module:
- Unzip the Lyra_Sylius_12.x_v1.3.x.zip module
- Copy the LyranetworkLyra folder at the root of your website.
- Open the composer.json folder at the root of your website.
- Search for the following code:
"autoload": { "psr-4": { "App\\": "src/" } },
Add the line as follows:"autoload": { "psr-4": { "App\\": "src/", "Lyranetwork\\Lyra\\": "LyranetworkLyra/src/" } },
Do not forget to add a comma at the end of the previous line.