smartsolutionsitaly/cakephp-purifier

HTML Purifier for CakePHP

Maintainers

Package info

github.com/smartsolutionsitaly/cakephp-purifier

Wiki

Type:cakephp-plugin

pkg:composer/smartsolutionsitaly/cakephp-purifier

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2019-06-03 13:14 UTC

This package is auto-updated.

Last update: 2026-03-01 00:28:10 UTC


README

LICENSE packagist issues CakePHP

HTML Purifier for CakePHP

Installation

You can install cakephp-purifier into your project using Composer.

composer require smartsolutionsitaly/cakephp-purifier

Setup

Insert at the bottom of your src/Application.php file the following line:

$this->addPlugin('SmartSolutionsItaly/CakePHP/Purifier');

And add or edit the method initialize in your Table classes.

public function initialize(array $config)
{
    parent::initialize($config);
    
    $this->addBehavior('SmartSolutionsItaly/CakePHP/Purifier.Purifier');
}

License

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

Copyright

Copyright (c) 2019 Smart Solutions S.r.l. (https://smartsolutions.it)