PHPackages                             jargaezx/theme-customizer - 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. jargaezx/theme-customizer

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

jargaezx/theme-customizer
=========================

CakePHP plugin para personalizar el tema Bootstrap vía .env

00PHP

Since Apr 29Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

ThemeCustomizer Plugin
======================

[](#themecustomizer-plugin)

Plugin de CakePHP 5 para inyectar dinámicamente variables CSS desde `.env`.

📦 Instalación
-------------

[](#-instalación)

Clona el plugin dentro del directorio `plugins/`:

```
cd plugins
git clone https://github.com/jargaezx/theme-customizer.git ThemeCustomizer
```

O bien, añádelo como submódulo Git:

```
git submodule add https://github.com/jargaezx/theme-customizer.git plugins/ThemeCustomizer
```

⚙️ Configuración
----------------

[](#️-configuración)

En `src/Application.php`, agrega:

```
$this->addPlugin('ThemeCustomizer');
```

En tu layout principal (`templates/layout/default.php`), dentro del ``:

```

```

🎨 Personalización
-----------------

[](#-personalización)

Agrega los colores al archivo `.env`:

```
BOOTSTRAP_PRIMARY_COLOR="#1a73e8"
BOOTSTRAP_SECONDARY_COLOR="#6c757d"
BOOTSTRAP_SUCCESS_COLOR="#28a745"
BOOTSTRAP_INFO_COLOR="#17a2b8"
BOOTSTRAP_WARNING_COLOR="#ffc107"
BOOTSTRAP_DANGER_COLOR="#dc3545"
BOOTSTRAP_BODY_COLOR="#212529"
BOOTSTRAP_BODY_BG="#ffffff"
```

✅ Resultado
-----------

[](#-resultado)

El plugin genera automáticamente un bloque `` con las variables CSS basadas en el entorno.

```
:root {
  --bs-primary: #1a73e8;
  ...
}

```

¡Listo! Ya puedes personalizar el sistema sin tocar el CSS.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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/e8f785c481d4d814a5ba96948b6d4fdbbeb13b6473f4b3ce3ac247b3dfbb080e?d=identicon)[jargaezx](/maintainers/jargaezx)

---

Top Contributors

[![jargaezx](https://avatars.githubusercontent.com/u/9520591?v=4)](https://github.com/jargaezx "jargaezx (1 commits)")

### Embed Badge

![Health badge](/badges/jargaezx-theme-customizer/health.svg)

```
[![Health](https://phpackages.com/badges/jargaezx-theme-customizer/health.svg)](https://phpackages.com/packages/jargaezx-theme-customizer)
```

###  Alternatives

[wickedreports/phpcs-pre-commit-hook

PHPCS check before commit

1920.9k](/packages/wickedreports-phpcs-pre-commit-hook)

PHPackages © 2026

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