PHPackages                             cikorka/cakephp-html-tidy-plugin - 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. cikorka/cakephp-html-tidy-plugin

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

cikorka/cakephp-html-tidy-plugin
================================

CakePHP HTML Tidy Plugin

057PHP

Since Jul 27Pushed 11y ago1 watchersCompare

[ Source](https://github.com/spandansingh/CakePHP-HTML-Tidy-Plugin)[ Packagist](https://packagist.org/packages/cikorka/cakephp-html-tidy-plugin)[ RSS](/packages/cikorka-cakephp-html-tidy-plugin/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

CakePHP-HTML-Tidy-Plugin
========================

[](#cakephp-html-tidy-plugin)

HTML Tidy Plugin validate and generate tided HTML output

Install and Setup
=================

[](#install-and-setup)

- First clone the repository into your `app/Plugin/Tidy` directory

    ```
      git clone git@github.com:cikorka/CakePHP-HTML-Tidy-Plugin.git app/Plugin/Tidy

      cd Plugin/Tidy
      git submodule init
      git submodule update

      cd Vendor/tidy-html5

      make -C build/gmake/
      sudo make install -C build/gmake/

    ```
- Load the plugin in your `app/Config/bootstrap.php` file:

    ```
      //app/Config/bootstrap.php
      CakePlugin::load('Tidy');

    ```
- Add component in `app/Controller/AppController.php` file:

    ```
      //app/Controller/AppController.php
      public $components = array('Tidy.Tidy');

      // if you want minify HTML code
      public $components = array('Tidy.Tidy' => array('minify' => true));

      // if you want minify HTML code and disable CSS and JS minification
      public $components = array('Tidy.Tidy' => array('minify' => true, 'js' => false, 'css' => false));

    ```
- Add behavior in `app/Model/YourModel.php` file:

    ```
      //If you want use Tidy and optional Minify fileds content before save into db
      public $actsAs = array('Tidy.Tidy' => array('field_name' => array('minify' => true)));

    ```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3231d38cb58b922fc23223240630ce9041afbc04f84d030a0d8da6ac0a6a1e6c?d=identicon)[spandansingh](/maintainers/spandansingh)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/cikorka-cakephp-html-tidy-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/cikorka-cakephp-html-tidy-plugin/health.svg)](https://phpackages.com/packages/cikorka-cakephp-html-tidy-plugin)
```

###  Alternatives

[wire-elements/wire-extender

Embed your Livewire components anywhere.

28133.9k1](/packages/wire-elements-wire-extender)

PHPackages © 2026

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