PHPackages                             defro/colourlovers - 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. [API Development](/categories/api)
4. /
5. defro/colourlovers

ActiveLibrary[API Development](/categories/api)

defro/colourlovers
==================

Library to request Colour Lovers REST Api.

1.1.0(3y ago)09MITPHPPHP &gt;=8.1

Since Sep 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/defro/colourlovers)[ Packagist](https://packagist.org/packages/defro/colourlovers)[ Docs](https://github.com/defro/colourlovers)[ RSS](/packages/defro-colourlovers/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

ColourLovers API
================

[](#colourlovers-api)

[![Latest Version](https://camo.githubusercontent.com/f71b93548827f73aa874cbcb263608fc1eee792673d17c2e5daa0a27bf977cec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f646566726f2f636f6c6f75726c6f766572732e7376673f7374796c653d666c61742d737175617265)](https://github.com/defro/colourlovers/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/d16238c26b7209151d4fccd76fa58705d9d95db6e671683e4fbf71a46e1b3d9c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646566726f2f636f6c6f75726c6f766572732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/defro/colourlovers)[![SymfonyInsight](https://camo.githubusercontent.com/75f0cfcdd69c622d83949cf4616bc01fd4fe6308c42fa14a3394e11544cdf148/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f37333931373635612d353964302d343865392d613533652d6362383062363336353932652f6d696e692e737667)](https://insight.symfony.com/projects/bb6b7848-7e7a-4e9f-a25b-397369caeef5)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fa223fc6e2d058c6deff0a7cbb0b7d1f9ecc2b578dd8c90242e2188fac545c49/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646566726f2f636f6c6f75726c6f766572732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/defro/colourlovers/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6daabdf9df4236c1d68a5cec93381bbc1f67fe4986a51197dd887a0ded9330b1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646566726f2f636f6c6f75726c6f766572732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/defro/colourlovers/?branch=master)[![StyleCI](https://camo.githubusercontent.com/59505dd867c3d336e00c76950ad26f832677cde2fadae7384db3baaaccae79d4/68747470733a2f2f7374796c6563692e696f2f7265706f732f3135363732363330322f736869656c64)](https://styleci.io/repos/156726302)[![Total Downloads](https://camo.githubusercontent.com/716339b3511aeb0e531f53588eae34f0807edf8c1cf1df2f7a9e32f672e506df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646566726f2f636f6c6f75726c6f766572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/defro/colourlovers)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MSER6KJHQM9NS)

This package can get quotes and their authors using [Colour Lovers API](http://www.colourlovers.com/api).

Here's a quick example:

```
$client = new \GuzzleHttp\Client();
$colourLovers = new \Defro\ColourLovers\Api($client);
$randomPalette = $colourLovers
    ->getRandomPalette();

var_dump($randomPalette);
```

Documentation
-------------

[](#documentation)

Read how to install, use this package, customize it on [documentation page](https://defro.github.io/colourlovers/).

License
-------

[](#license)

The MIT License (MIT). Please see [license file](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% 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.

###  Release Activity

Cadence

Every ~70 days

Total

2

Last Release

1274d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7154b9ae4190b953e6da5a99c771f27fd315c51563ed5fce2a4c8cf2daea1803?d=identicon)[defro](/maintainers/defro)

---

Top Contributors

[![defro](https://avatars.githubusercontent.com/u/25364?v=4)](https://github.com/defro "defro (13 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

apicolorpatternpalettecolourlovers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/defro-colourlovers/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

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