I want to use https://github.com/Dewbud/CardConnect this library in my project but don't know how to download by using composer, library developer does not mention in the documentation.
1 Answer
They are listed at Packgist which means you can either add it to your project from the command line using the following command:
composer require dewbud/cardconnect
Or by adding the following to your composer.json
file:
"require": {
"dewbud/cardconnect" : "2.*"
}
-
Do not recommend using
*
in version constraints. That's pretty bad and risky. Proper approach is documented here: getcomposer.org/doc/articles/versions.md Jul 5, 2020 at 2:38