Download the PHP package fromholdio/silverstripe-svgenius without Composer
On this page you can find all versions of the php package fromholdio/silverstripe-svgenius. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fromholdio/silverstripe-svgenius
More information about fromholdio/silverstripe-svgenius
Files in fromholdio/silverstripe-svgenius
Download fromholdio/silverstripe-svgenius
More information about fromholdio/silverstripe-svgenius
Files in fromholdio/silverstripe-svgenius
Vendor fromholdio
Package silverstripe-svgenius
Short Description First-class SVG handling for Silverstripe CMS & front-end
License BSD-3-Clause
Homepage https://github.com/fromholdio/silverstripe-svgenius
Package silverstripe-svgenius
Short Description First-class SVG handling for Silverstripe CMS & front-end
License BSD-3-Clause
Homepage https://github.com/fromholdio/silverstripe-svgenius
Please rate this library. Is it a good library?
Informations about the package silverstripe-svgenius
silverstripe-svgenius
First-class SVG handling for Silverstripe CMS & front-end.
Requires Silverstripe 6+.
- SVGs can be uploaded into Asset Admin just like images
- Thumbnail of SVG is displayed on Asset Admin grid view
- Asset CMS fields adjusted to hide focuspoint field for SVGs when jonom/focuspoint is installed
- Retrieve height, width, orientation, and apply resizing by ratio, width or height using existing manipulation methods (Fit, FitMax, ScaleWidth, ScaleMaxWidth, ScaleHeight, ScaleMaxHeight)
- Can embed in front-end as an
tag, or embed the svg file contents
- SVG contents are passed through santisation library enshrined\svgSanitize
Note, this behaviour is not included out-of-the-box in Silverstripe due to the security risks inherent with user-supplied SVG files. Per above, this module does process SVGs through a sanitisation process, but this needs to be combined with your own strategies and in consideration of your use case to reach acceptable security.
All versions of silverstripe-svgenius with dependencies
PHP Build Version
Package Version
Requires
silverstripe/framework Version
^6.0.0
enshrined/svg-sanitize Version ^0.22.0
meyfa/php-svg Version ^0.16.1
enshrined/svg-sanitize Version ^0.22.0
meyfa/php-svg Version ^0.16.1
The package fromholdio/silverstripe-svgenius contains the following files
Loading the files please wait ...