Download the PHP package wedevelopnl/silverstripe-svg-image without Composer
On this page you can find all versions of the php package wedevelopnl/silverstripe-svg-image. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wedevelopnl/silverstripe-svg-image
More information about wedevelopnl/silverstripe-svg-image
Files in wedevelopnl/silverstripe-svg-image
Package silverstripe-svg-image
Short Description Silverstripe module to add support for SVG images.
License BSD-3-Clause
Informations about the package silverstripe-svg-image
Silverstripe SVG image
Silverstripe doesn't support SVG to be used out of the box. This module adds a new file type which supports SVG images in a very basic way. Please note that the absence of SVG support isn't a fluke but the result of some extended discussion.
This module provides some sanitation of SVG files on upload but be aware of the potential risk.
Image manipulation
The Silverstripe core supports a extensive set of image manipulation tools. At the moment image manipulation isn't supported on SVG images. When an manipulation method is called on an SVG image the source image is simply returned.
Requirements
- See
composer.json
requirements
Installation
composer require wedevelopnl/silverstripe-svg-image
- Run a
dev/build
License
See License
Maintainers
Development and contribution
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. See read our contributing document for more information.
Getting started
We advise to use Docker/Docker compose for development.\ We also included a Makefile to simplify some commands
Our development container contains some built-in tools like PHPCSFixer
.
All versions of silverstripe-svg-image with dependencies
enshrined/svg-sanitize Version ^0.16
meyfa/php-svg Version ^0.14.5
silverstripe/framework Version ^5