Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alnorris/svg-sanitizer
Whitelist-based PHP SVG sanitizer.
https://github.com/alnorris/svg-sanitizer
Last synced: 5 days ago
JSON representation
Whitelist-based PHP SVG sanitizer.
- Host: GitHub
- URL: https://github.com/alnorris/svg-sanitizer
- Owner: alnorris
- License: mit
- Created: 2013-05-24T23:54:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-25T00:42:34.000Z (over 11 years ago)
- Last Synced: 2023-07-31T12:28:52.280Z (over 1 year ago)
- Language: PHP
- Size: 109 KB
- Stars: 22
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SVG Sanitizer
======Whitelist-based PHP SVG sanitizer.
Usage
-----```php
load("evil.svg");// sanitize!
$svg->sanitize();// Print out sanitized SVG
echo $svg->saveSVG();?>
```License
-------[MIT](http://opensource.org/licenses/MIT)