PHPackages                             image/colordetect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. image/colordetect

ActiveLibrary[Image &amp; Media](/categories/media)

image/colordetect
=================

Detect color of image

2101[1 PRs](https://github.com/poojajadav3698/color-detect/pulls)PHP

Since Sep 8Pushed 7y ago2 watchersCompare

[ Source](https://github.com/poojajadav3698/color-detect)[ Packagist](https://packagist.org/packages/image/colordetect)[ RSS](/packages/image-colordetect/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Install color detect Package
============================

[](#install-color-detect-package)

Step 1 :
--------

[](#step-1-)

### Create a new laravel project

[](#create-a-new-laravel-project)

```
 composer create-project --prefer-dist laravel/laravel blog_demo

```

Step 2 :
--------

[](#step-2-)

#### Require this package with composer using:

[](#require-this-package-with-composer-using)

• Add in composer.json must be have you minimum-stability is dev,("minimum-stability": "dev" in composer.json)

```
composer require image/colordetect
```

OR
==

[](#or)

• Add in composer.json :(after adding, you should update your composer\[ composer update \]

```
"require": {
	…
	"image/colordetect": "dev-master"
}
```

Step 3 :
--------

[](#step-3-)

### After updating composer, add the service provider to the providers array in config/app.php

[](#after-updating-composer-add-the-service-provider-to-the-providers-array-in-configappphp)

```
image\colordetect\ColordetectServiceProvider::class,

```

Step 4 :
--------

[](#step-4-)

### Call in postman

[](#call-in-postman)

API BASE URL : [http://localhost/&lt;project\_name&gt;/public/getImageMainColor](http://localhost/%3Cproject_name%3E/public/getImageMainColor)

Parameters : "file" : 1.jpg,

### Demo

[](#demo)

That’s it – load URL in the postman! [![](https://raw.githubusercontent.com/poojajadav3698/color-detect/master/3.JPG)](https://raw.githubusercontent.com/poojajadav3698/color-detect/master/3.JPG)

### Thank you

[](#thank-you)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd2e061ab787251553af6bd3e00b40ed591fae1abfccaa97e750b7a20060c096?d=identicon)[Pooja Jadav](/maintainers/Pooja%20Jadav)

---

Top Contributors

[![poojajadav3698](https://avatars.githubusercontent.com/u/42991227?v=4)](https://github.com/poojajadav3698 "poojajadav3698 (13 commits)")

### Embed Badge

![Health badge](/badges/image-colordetect/health.svg)

```
[![Health](https://phpackages.com/badges/image-colordetect/health.svg)](https://phpackages.com/packages/image-colordetect)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k22](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
