darylldoyle / svg-sanitizer

A PHP SVG/XML Sanitizer
GNU General Public License v2.0
454 stars 67 forks source link

API method for validating if an existing SVG is safe #95

Open davereid opened 9 months ago

davereid commented 9 months ago

I'd like to have a method that determines with a boolean result (or throws exceptions) if an SVG is safe or not.