PHP code example of log1x / blade-svg-sage
1. Go to this page and download the library: Download log1x/blade-svg-sage library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
log1x / blade-svg-sage example snippets
add_filter('bladesvg', function () {
return [
'svg_path' => 'resources/svg',
'spritesheet_path' => 'resources/svg/spritesheet.svg',
'spritesheet_url' => '',
'sprite_prefix' => '',
'inline' => true,
'class' => ''
];
});