Download the PHP package mage2pro/color without Composer

On this page you can find all versions of the php package mage2pro/color. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package color

A product image color categorization module for Magento 2.
The module is free and open source.
It uses the Google's Cloud Vision API (based on deep learning) to detect the dominant color of a product's primary image, and then it automatically assigns the proper color swatch to the product.

When a product is saved, the module checks whether the product is a configurable child.
If so, the module checks whether the product's base image was changed. If so, the module analyses the image's colors using Google Cloud Vision API:
Then the module calculates the difference between the primary color and all swatches using the Delta E (CIE 2000) algorithm.
Sometimes the algorithm does not produce the result you want. In this case, you can correct the algorithm by specifying additional swatches for a desired color:
The module uses all samples in a color distance calculation and picks the minimum result as the distance between the swatch and the product image's dominant color. The module has a tesing sandbox. Put test images to the pub/media/mage2pro folder, and then go to the /mage2pro-color page. The sandbox will show what the module thinks about the images colors:
Please note that the module uses only color of the color Magento product attribute, so to make the module operate more colors, just add more swatches to the color attribute.

The module requires Google Application credentials. Put them to the app/etc/google-app-credentials.json file.

How to install

Hire me in Upwork, and I will:

2. Self-installation

How to upgrade


All versions of color with dependencies

PHP Build Version
Package Version
Requires google/cloud-vision Version <1.3
google/common-protos Version <4
google/longrunning Version <0.2
mage2pro/core Version >=9.9.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mage2pro/color contains the following files

Loading the files please wait ....