Inline SVG Images for Yii ¶
included as part of the main text on a page, rather than in a separate section
This extension provides simple functions for Yii framework 3.0 applications to add SVG Images inline.
The package could be installed via composer:
composer require yiirocks/svg-inline
composer require yiirocks/svg-inline-bootstrap composer require yiirocks/svg-inline-fontawesome
The default configuration will enable
$svg in any view.
Available options can be found in the documentation.
Unit testing ¶
The package is tested with PHPUnit. To run tests: