PHPackages                             cheddzy/laravel-palette - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cheddzy/laravel-palette

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cheddzy/laravel-palette
=======================

Package to read my custom file format that holds information about colour palettes.

1.0.1(1y ago)00MITPHPPHP ^8.2

Since Dec 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cheddZy/laravel-palette)[ Packagist](https://packagist.org/packages/cheddzy/laravel-palette)[ Docs](https://github.com/cheddzy/laravel-palette)[ GitHub Sponsors](https://github.com/cheddzy)[ RSS](/packages/cheddzy-laravel-palette/feed)WikiDiscussions main Synced 1mo ago

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

Package to read my custom file format that holds information about colour palettes.
===================================================================================

[](#package-to-read-my-custom-file-format-that-holds-information-about-colour-palettes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2e2c3d5d914456fe90535716bb24719ab126158172f7e4e1256a176427dc571b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63686564647a792f6c61726176656c2d70616c657474652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cheddzy/laravel-palette)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7d414b23592e992a2094a608a8bd4d733e8217ce14c72fefa54cd55a38189973/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f63686564647a792f6c61726176656c2d70616c657474652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/cheddzy/laravel-palette/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/0e796b312bbd38b6654e81b38c3c8c62cce9d459195f7e9c2aa6a2d374cd5cbd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f63686564647a792f6c61726176656c2d70616c657474652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/cheddzy/laravel-palette/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4fa9cd2b1017c3bc6ab02473ac2f1be8a46e2b2b370cbbc782459c0ff7e3a97b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63686564647a792f6c61726176656c2d70616c657474652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cheddzy/laravel-palette)

I made a custom color palette file format encoder &amp; decoder for use in Laravel. It encodes RGB color integers to hexadecimal binary, and decodes back into RGB color integers.

This was made for practice, I don't see a real use case for this!

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

[](#installation)

You can install the package via composer:

```
composer require cheddzy/laravel-palette
```

Usage
-----

[](#usage)

```
use Cheddzy\LaravelPalette\ColorPalette

$laravelPalette = new ColorPalette();

// Will decode a palette file from a specified location.
$laravelPalette->decode($palette, $path);

// Will encode an example.cpal at a specified location.
$laravelPalette->encode($palette, $path, 'filename');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

PRs are welcome, but please create an issue first if you want to make big changes.

Credits
-------

[](#credits)

- [Shachar MW](https://github.com/cheddzy)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance40

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~0 days

Total

2

Last Release

502d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5be3463723baffabba42977590ae4873d3c4c30ea7eef301404b4992e3211e90?d=identicon)[cheddZy](/maintainers/cheddZy)

---

Top Contributors

[![cheddZy](https://avatars.githubusercontent.com/u/53349272?v=4)](https://github.com/cheddZy "cheddZy (11 commits)")

---

Tags

laravelcheddZylaravel-palette

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/cheddzy-laravel-palette/health.svg)

```
[![Health](https://phpackages.com/badges/cheddzy-laravel-palette/health.svg)](https://phpackages.com/packages/cheddzy-laravel-palette)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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