Today we’ll see how to download opencart setup without going the opencart website, just by using composer.
At the very first install composer in the directory in which you want to setup your opencart installation. I’ve created directory named opencart and installed composer, please see below screenshot-
Now composer is installed successfully in the directory and ready to use. Now create a file named composer having extension json, refer below screenshot for this.
Now you can see that our parent directory is having two files, one is composer.phar, that will execute install and update command for repository and other is composer.json that will contain information about repositories as below screenshot-
Now, installation is required for the above repositories. For this run below command and all files related to all repositories will be downloaded and opencart’s file will be copied to opencart named folder.
Now all the files are downloaded withing directory and now install opencart.
Be the first to comment.