PHPackages                             smartsolutionsitaly/cakephp-color-type - 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. [Database &amp; ORM](/categories/database)
4. /
5. smartsolutionsitaly/cakephp-color-type

ActiveCakephp-plugin[Database &amp; ORM](/categories/database)

smartsolutionsitaly/cakephp-color-type
======================================

Color database type for CakePHP

1.0.0(6y ago)07MITPHP

Since May 24Pushed 6y agoCompare

[ Source](https://github.com/smartsolutionsitaly/cakephp-color-type)[ Packagist](https://packagist.org/packages/smartsolutionsitaly/cakephp-color-type)[ Docs](https://github.com/smartsolutionsitaly/cakephp-color-type)[ RSS](/packages/smartsolutionsitaly-cakephp-color-type/feed)WikiDiscussions master Synced today

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

cakephp-color-type
==================

[](#cakephp-color-type)

[![LICENSE](https://camo.githubusercontent.com/457174ac880195f6e563b325edf6d033feba367a92117640944f9c1c20cb2c01/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736d617274736f6c7574696f6e736974616c792f63616b657068702d636f6c6f722d747970652e737667)](LICENSE)[![packagist](https://camo.githubusercontent.com/28fbbffd39fda9586bbeb9299d24c6e0fcd3f2908b26ba219e73c5c4c17b4199/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d736d617274736f6c7574696f6e736974616c7925324663616b657068702d2d636f6c6f722d2d747970652d627269676874677265656e2e737667)](https://packagist.org/packages/smartsolutionsitaly/cakephp-color-type)[![issues](https://camo.githubusercontent.com/9cd3c177835fee115af9fd303ef5decf9fae758629471de882e0f0e4b05d4004/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736d617274736f6c7574696f6e736974616c792f63616b657068702d636f6c6f722d747970652e737667)](https://github.com/smartsolutionsitaly/cakephp-color-type/issues)[![CakePHP](https://camo.githubusercontent.com/fc9bbc2657f6a0eb38db6e6c0ef4fa43fd571fd65ad6c5eb4131bc028b1e5876/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f43616b655048502d332e362532422d627269676874677265656e2e737667)](https://github.com/cakephp/cakephp)

Color database type for [CakePHP](https://github.com/cakephp/cakephp)

Installation
------------

[](#installation)

You can install *cakephp-color-type* into your project using [Composer](https://getcomposer.org).

```
composer require smartsolutionsitaly/cakephp-color-type
```

Setup
-----

[](#setup)

Insert at the bottom of your *config/bootstrap.php* file the following line:

```
Type::map('color', 'SmartSolutionsItaly\CakePHP\Database\Type\ColorType');
```

And add or edit the method \_*initializeSchema* in your *Table* classes.

```
protected function _initializeSchema(\Cake\Database\Schema\TableSchema $schema)
{
    $schema->setColumnType('your_column_name', 'color');

    return $schema;
}
```

License
-------

[](#license)

Licensed under The MIT License For full copyright and license information, please see the [LICENSE](LICENSE)Redistributions of files must retain the above copyright notice.

Copyright
---------

[](#copyright)

Copyright (c) 2019 Smart Solutions S.r.l. ()

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2545d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7ea26c285d2fb8797369adeb31e5771d4613baafa25bee6293125fd76a9fc51?d=identicon)[smartsolutions](/maintainers/smartsolutions)

---

Top Contributors

[![DevSmartSolutions](https://avatars.githubusercontent.com/u/26815179?v=4)](https://github.com/DevSmartSolutions "DevSmartSolutions (2 commits)")

---

Tags

databasecakephpcolordatasource

### Embed Badge

![Health badge](/badges/smartsolutionsitaly-cakephp-color-type/health.svg)

```
[![Health](https://phpackages.com/badges/smartsolutionsitaly-cakephp-color-type/health.svg)](https://phpackages.com/packages/smartsolutionsitaly-cakephp-color-type)
```

###  Alternatives

[dereuromark/cakephp-databaselog

A CakePHP plugin for storing and viewing application logs in the database

44165.0k2](/packages/dereuromark-cakephp-databaselog)[imsamurai/cakephp-serializable-behaviour

Behavior for saving and reading serialized data from/into database

147.7k3](/packages/imsamurai-cakephp-serializable-behaviour)

PHPackages © 2026

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