Download the PHP package moomnng/purifier without Composer
On this page you can find all versions of the php package moomnng/purifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download moomnng/purifier
More information about moomnng/purifier
Files in moomnng/purifier
Package purifier
Short Description Laravel 5 HtmlPurifier Package
License MIT
Homepage https://github.com/mewebstudio/purifier
Informations about the package purifier
HTMLPurifier for Laravel 5
A simple Laravel 5 service provider for including the HTMLPurifier for Laravel 5.
for Laravel 4 HTMLPurifier for Laravel 4
This package can be installed via Composer by
requiring the mews/purifier
package in your project's composer.json
:
or
Require this package with composer:
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
for Laravel 4 HTMLPurifier for Laravel 4
All versions of purifier with dependencies
illuminate/config Version 5.*
illuminate/support Version 5.*
illuminate/filesystem Version 5.*
ezyang/htmlpurifier Version 4.9.*