Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Color Scheme Bundle

Color Scheme Bundle Laravel Package

idci/color-scheme-bundle

A Symfony bundle for managing color schemes in your application. Define named palettes, organize colors centrally, and reuse them across templates and configuration so themes stay consistent and easy to update. Useful for theming and design-system work.

View on GitHub
Deep Wiki
Context7

Symfony2 color scheme bundle

Frequently asked questions about Color Scheme Bundle
Can I install idci/color-scheme-bundle in a Laravel application?
No. idci/color-scheme-bundle is a Symfony2 bundle, not a Laravel package. It has no Laravel ServiceProvider, no package auto-discovery, no config publish tag, and no Blade integration. Its Composer constraints pin Symfony 2.x components, which collide with modern Laravel versions that require Symfony 6.x. Do not add it to a Laravel app's require block.
Is idci/color-scheme-bundle compatible with Laravel 10 or Laravel 11?
No. Laravel 10 and Laravel 11 require modern PHP and Symfony 6.x components, while this bundle targets Symfony2, which reached end of life in 2018. The likely PHP 5.5 to 7.0 era syntax and legacy Twig references further rule out direct compatibility. Treat it only as a read-only reference design.
What Laravel version does this color scheme package support?
None officially. It is not a Laravel package and does not follow Laravel package conventions such as service providers, config publishing, or Blade directives. It is built around Symfony bundle conventions including Bundle classes, DependencyInjection extensions, services.xml, and a Twig extension. Do not expect support for Laravel 8, 9, 10, 11, or newer.
How do I define named color palettes in Laravel if this bundle is Symfony-only?
Implement the pattern cleanly in Laravel with a config/color-scheme.php file containing named palette arrays. Bind a ColorSchemeManager singleton in a service provider, resolve the active scheme through middleware or a view composer, and expose values through a Blade component or directive. A clean-room port of this shape is typically a small, bounded effort estimated at three to five engineer-days. Do not copy the Symfony2 code into a Laravel package.
What is the Symfony bundle's architecture and how does it map to Laravel?
The reusable idea is a three-part decomposition: scheme definition in configuration, runtime scope resolution, and CSS or template emission. In Laravel, scheme definition becomes a config file, scope resolution becomes a manager plus middleware or view composer, and template access becomes a Blade component or directive. Symfony dependency injection and Twig extension concepts map to Laravel service provider bindings and Blade helpers. The architecture is useful even though the code is not runnable in Laravel.
How do I expose color schemes to Blade templates instead of Twig?
Share resolved palettes through a view composer or inject the manager into a Blade component or directive. Keep hex values centralized in configuration rather than scattering them through templates. If your front end uses CSS custom properties or Tailwind, emit design tokens from the same configuration so templates and styles consume one source of truth. The original bundle's Twig integration does not carry over to Blade.
Can I reuse idci/color-scheme-bundle code in a Laravel package?
Verify the license before copying any file, because the repository is obscure and the license ownership may be unclear. The bundle is abandoned with zero stars, zero dependents, and no likely maintainer willing to accept patches. Its syntax may be PHP 5.5 to 7.0 era with legacy Twig references and questionable PSR-4 guarantees. The safest route is a clean-room reimplementation from an extracted specification rather than file-level reuse.
How should I test a Laravel color scheme manager ported from this bundle?
Unit test that config palettes load correctly, the manager returns the expected named scheme, and missing or invalid schemes fall back predictably. Feature test middleware or view composer resolution for user, tenant, route, or session scopes, and assert Blade output contains the expected CSS variables or classes. If accessibility matters, add tests against pre-validated palettes and contrast requirements. Keep tests independent of the abandoned Symfony2 bundle.
Is idci/color-scheme-bundle abandoned, and is it safe for production?
Yes, it should be treated as abandoned and unsafe for production in a Laravel context. Symfony2 is end of life, the bundle has no issue history, no dependents, and an unassessed security posture. There is no upstream maintainer to patch conflicts or vulnerabilities, and Composer conflicts with modern Laravel are expected. Production use should rely on a small owned implementation or a maintained design-token layer instead.
What are alternatives to idci/color-scheme-bundle for Laravel theming?
Use a small Laravel config file plus a ColorSchemeManager singleton, middleware or view composer, and a Blade component or directive. Consume CSS custom properties, Tailwind theme configuration, or an existing design-token layer rather than defining a parallel palette system. If the real requirement is tenant branding, dark and light mode, or per-user theme persistence, a focused resolver may be only about thirty lines of config and logic. WCAG contrast enforcement is a product decision requiring pre-validated palettes, not something this bundle solves.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console