PHPackages                             projector22/php-svg-tool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. projector22/php-svg-tool

ActiveLibrary[Image &amp; Media](/categories/media)

projector22/php-svg-tool
========================

A tool for handling SVG files with PHP

1.0.0(3y ago)01091[3 issues](https://github.com/projector22/php-svg-tool/issues)1mitPHPPHP &gt;=8.0

Since Jun 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/projector22/php-svg-tool)[ Packagist](https://packagist.org/packages/projector22/php-svg-tool)[ RSS](/packages/projector22-php-svg-tool/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (3)Used By (1)

php-svg-tool
============

[](#php-svg-tool)

A simple PHP tool to perform basic functions on SVG files.

At Present
----------

[](#at-present)

This tool takes the input of an `` markup, either from a `.svg` file or just typed in. It then allows you to set or change custom attributes on the `` as desired.

Currently only the `` tag can be manipulated, as the inner markup is beyond the current need.

Build
-----

[](#build)

This tool was built on PHP 8.1 - backwards compatibility to PHP 8.0 should be fine, but this tool should be incompatable with PHP 7.x and below as it uses a number of features introduced in PHP 8.0.

Example
-------

[](#example)

```
