Jump to content



Member Since 16 Jun 2021
Offline Last Active Jul 21 2021 11:20 PM

Topics I've Started

Install Dependencies With Composer

07 July 2021 - 10:17 PM



I would like to install a own package with composer.



1. In cs cart project, I added to "app/lib/composer.json" the package repo

   "type": "git",
    "url": "https://bitbucket.org/companydevelop/mypackage-core"

2- I changed to "app/lib" folder and I executed composer require mypackage/core:master-dev




I did not get errors and this seems work, but I wonder if it is the best practice. Is this the proper way to install a composer package?