Download the PHP package luketowers/purifier without Composer
On this page you can find all versions of the php package luketowers/purifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download luketowers/purifier
More information about luketowers/purifier
Files in luketowers/purifier
Package purifier
Short Description Laravel 5 HtmlPurifier Package
License MIT
Homepage https://github.com/LukeTowers/Purifier
Informations about the package purifier
HTMLPurifier for Laravel 5
A simple Laravel 5 service provider for including the HTMLPurifier for Laravel 5.
This package can be installed via Composer by including the repository and requiring the luketowers/purifier
package in your project's composer.json
:
Update your packages with composer update
or install with composer install
.
Usage
To use the HTMLPurifier Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this.
Find the providers
key in config/app.php
and register the HTMLPurifier Service Provider.
Find the aliases
key in app/config/app.php
.
Configuration
To use your own settings, publish config.
Config file config/purifier.php
should like this
Example
default
or
dynamic config
or
All versions of purifier with dependencies
illuminate/config Version 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*
illuminate/support Version 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*
illuminate/filesystem Version 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*
ezyang/htmlpurifier Version 4.8.*