PHPackages                             srwiez/svgtinyps-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. srwiez/svgtinyps-cli

ActiveProject[CLI &amp; Console](/categories/cli)

srwiez/svgtinyps-cli
====================

SVG (Portable and Secure) commandline converter for BIMI compliance

v1.4.0(1y ago)531MITPHPPHP ^8.2CI passing

Since Oct 31Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/SRWieZ/svgtinyps-cli)[ Packagist](https://packagist.org/packages/srwiez/svgtinyps-cli)[ RSS](/packages/srwiez-svgtinyps-cli/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (0)

svgtinyps
=========

[](#svgtinyps)

[![GitHub release (with filter)](https://camo.githubusercontent.com/5ffe5341fde41a73a615c93945abe2ba799a5f2620e00c80c371797dc8a39368/68747470733a2f2f62616467656e2e6e65742f6769746875622f72656c656173652f53525769655a2f73766774696e7970732d636c69)](https://camo.githubusercontent.com/5ffe5341fde41a73a615c93945abe2ba799a5f2620e00c80c371797dc8a39368/68747470733a2f2f62616467656e2e6e65742f6769746875622f72656c656173652f53525769655a2f73766774696e7970732d636c69)[![Packagist PHP Version](https://camo.githubusercontent.com/8828d6cdc21d447705ca9b59483e9df891343dc3dcba771b8f38de84544b09b1/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f53525769655a2f73766774696e7970732d636c69)](https://camo.githubusercontent.com/8828d6cdc21d447705ca9b59483e9df891343dc3dcba771b8f38de84544b09b1/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f53525769655a2f73766774696e7970732d636c69)[![Packagist License (custom server)](https://camo.githubusercontent.com/cc232cabd9165ef135604ece6ee9413c728d8ff2fcf01746267fd217c866d93a/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f53525769655a2f73766774696e7970732d636c69)](https://camo.githubusercontent.com/cc232cabd9165ef135604ece6ee9413c728d8ff2fcf01746267fd217c866d93a/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f53525769655a2f73766774696e7970732d636c69)

CLI Tool for SVG Tiny P/S (Portable and Secure) conversion and BIMI compliance.

[Read more from bimi group](https://bimigroup.org/creating-bimi-svg-logo-files/)and [the RFC](https://datatracker.ietf.org/doc/id/draft-svg-tiny-ps-abrotman-00.txt)

🧪 If you just want to convert your SVG in a nice UI, you can use the [online version of the converter!](https://checkbimi.com/convertsvg)

You can also checkout the [PHP package](https://github.com/SRWieZ/php-svg-ps-converter) that this project is based on.

🚀 Installation
--------------

[](#-installation)

Via [Composer](https://getcomposer.org/) global install command

```
composer global install srwiez/svgtinyps-cli
```

By [downloading binaries](https://github.com/SRWieZ/svgtinyps-cli/releases/latest) on the latest release, currently only these binaries are compiled on the CI:

- macOS x86\_64
- macOS arm64
- linux x86\_64
- linux arm64
- windows x64

📚 Usage
-------

[](#-usage)

Identify issues in an SVG file

```
svgtinyps issues input.svg
```

Convert an SVG file to SVG (P/S)

```
svgtinyps convert input.svg output.svg
```

If in the identified issues, you missing th title tag, you can set its value with the `--title` option

```
svgtinyps convert input.svg output.svg --title="My awesome company"
```

🚦 Testing
---------

[](#-testing)

This project use [Pest](https://pestphp.com/) for testing.

```
composer test
```

👥 Contribute
------------

[](#-contribute)

This project follows PSR coding style. You can use `composer pint` to apply.

All tests are executed with pest. Use `composer pest`

It's recommended to execute `composer qa` before commiting (alias for executing Pint and Pest)

🔧 Build from sources
--------------------

[](#-build-from-sources)

This project use [box](https://github.com/box-project/box), [php-static-cli](https://github.com/crazywhalecc/static-php-cli) and [php-micro](https://github.com/dixyes/phpmicro). A build script has been created to build the project. (tested only on macOS x86\_64)

```
composer build
```

Then you can build the binary that you can retrieve in `build/bin/`

📋 Roadmap
---------

[](#-roadmap)

Pull requests are welcome! Here are some ideas to get you started:

- Use Symfony Console for better ui
- Publish on Homebrew

👥 Credits
---------

[](#-credits)

**svgtinyps** was created by Eser DENIZ.

Inspired by the official scripts of [authindicators/svg-ps-converters](https://github.com/authindicators/svg-ps-converters)

Thanks to [gilbarbara/logos](https://github.com/gilbarbara/logos) for the logos used in the tests.

📝 License
---------

[](#-license)

**svgtinyps** PHP is licensed under the MIT License. See LICENSE for more information.

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance69

Regular maintenance activity

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Recently: every ~80 days

Total

11

Last Release

567d ago

PHP version history (3 changes)v1.0.0PHP ^8.2

v1.2.0PHP ^8.3

v1.2.1PHP ^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/735894a4f6e39aa85e3d136abc9cf0be92da593d88731382384185293cbfe965?d=identicon)[SRWieZ](/maintainers/SRWieZ)

---

Top Contributors

[![SRWieZ](https://avatars.githubusercontent.com/u/1408020?v=4)](https://github.com/SRWieZ "SRWieZ (85 commits)")

---

Tags

bimiclipharphpsvg

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/srwiez-svgtinyps-cli/health.svg)

```
[![Health](https://phpackages.com/badges/srwiez-svgtinyps-cli/health.svg)](https://phpackages.com/packages/srwiez-svgtinyps-cli)
```

###  Alternatives

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M679](/packages/drush-drush)[povils/phpmnd

A tool to detect Magic numbers in codebase

5795.6M192](/packages/povils-phpmnd)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[helhum/typo3-console

A reliable and powerful command line interface for TYPO3 CMS

2939.0M192](/packages/helhum-typo3-console)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[phly/keep-a-changelog

Tag and release packages on GitHub using Keep A Changelog; add new version entries to your changelog.

183109.4k25](/packages/phly-keep-a-changelog)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
