Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cakephp-purifier

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)

About

HTML Purifier for CakePHP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages