tremidkhar/tsd-get-svg

A PHP library that allows to easily retrieve svg icon from the stored directory and output or stored the markup as variable

0.1.2 2020-05-09 15:40 UTC

This package is auto-updated.

Last update: 2024-04-21 16:51:01 UTC


README

TSD Get SVG is a simple library that helps to retrive the svg content from the svg file and output it into the html file or store it in variable.

Use the tsd_get_svg_path to filter the directory that store the svg file

Use the tsd_get_svg function to get the content of the svg

Use the tsd_the_svg function echo the content of the svg