Composer Installation

Watch our video or follow the steps described below to get started!

Plan your installation carefully

In a production environment, installation should be planned before continuing, as your site may be in maintenance mode until Magento is running again.

Before installing Magento on APSIS One, we strongly recommend you to install and test the module on your staging server, and we strongly recommend that you backup your Magento databases and your website.


How to Install via Composer

1. Set up the correct path for Composer, or keep Composer within the Magento root.

2. Run the following command in the Magento root: composer require apsis/module-one

3. Then run php bin/magento module:enable Apsis_One

4. Run php bin/magento setup:upgrade

5. If you have a single website and store, run the following command in the Magento root: php bin/magento setup:di:compile

Otherwise, if you have multiple websites and stores, run php bin/magento setup:di:compile-multi-tenant

6. Clear the cache. All set!


Next Step


How to update

The process for updating with Composer is almost the same as installation.

Using your command line shell, navigate to the Magento root directory and run the command composer require apsis/module-one:^NEW_VERSION NEW_VERSION should be replaced with the latest version number which can be found on packagist

Example: composer require apsis/module-one:^1.9.5

After this, follow steps 4-6 of the installation process

Did this answer your question?