Skip to content

Lawrence72/sanitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight Sanitizer

How to install

composer require lawrence72/sanitizer

How to use

$sanitizer = new Sanitizer();

$text = "Some Text"

$new_text = $sanitizer->clean($text);

How to use with HTML tags

Include the tags you wish to allow

$sanitizer = new Sanitizer();

$text = "

Some Text
"

$new_text = $sanitizer->clean($text,['div']);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages