PHPackages                             madeyourday/svg-icon-font-generator - 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. madeyourday/svg-icon-font-generator

ActiveLibrary

madeyourday/svg-icon-font-generator
===================================

Creates a SVG font from a set of SVG files and vice versa. The glyph mapping is based on the file names – that makes updating and extending easy and fast.

v0.1.3(12y ago)10415824PHP

Since Sep 17Pushed 4y ago10 watchersCompare

[ Source](https://github.com/madeyourday/SVG-Icon-Font-Generator)[ Packagist](https://packagist.org/packages/madeyourday/svg-icon-font-generator)[ RSS](/packages/madeyourday-svg-icon-font-generator/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

SVG-Icon-Font-Generator
=======================

[](#svg-icon-font-generator)

Creates a SVG font from a set of SVG files and vice versa.
The glyph mapping is based on the file names – that makes updating and extending easy and fast.

Installation
------------

[](#installation)

You can create the svg-icon-font-generator.phar by yourself using the following commands: (this requires [composer.phar](http://getcomposer.org/) to be installed)

```
git clone https://github.com/madeyourday/SVG-Icon-Font-Generator.git
cd SVG-Icon-Font-Generator
php composer.phar install
php build.php

```

Or download the latest release here:

### System Requirements

[](#system-requirements)

- PHP 5.3 or higher
- PHP mbstrings needs to be enabled
- phar.readonly must be off.

Usage
-----

[](#usage)

### Create a SVG font from a set of SVG files

[](#create-a-svg-font-from-a-set-of-svg-files)

```
php svg-icon-font-generator.phar create-font /path/to/svg/files your-font.svg --rename-files

```

The files should be named like this:

- `arrow-up-x2191.svg` use the correct unicode symbol if possible
- `magnifying-glass-xe001.svg` otherwise use the unicode "Private Use Area" (start from xe001, don't use xe000)
- `key.svg` this file gets automatically mapped to a unicode "Private Use Area" symbol, if you use the `--rename-files` option this file will be renamed to something like `key-xe002.svg`

The list above generates the class names `icon-arrow-up`, `icon-magnifying-glass` and `icon-key`.

For creating new icons you can use this SVG template:

An example set of SVG files can be found here:

### Create a set of SVG files from a SVG font

[](#create-a-set-of-svg-files-from-a-svg-font)

```
php svg-icon-font-generator.phar create-files your-font.svg /path/to/svg/files

```

### Create a HTML info page from a SVG font

[](#create-a-html-info-page-from-a-svg-font)

```
php svg-icon-font-generator.phar create-info your-font.svg your-font-info.html

```

### Create a CSS file with icon classes from a SVG font

[](#create-a-css-file-with-icon-classes-from-a-svg-font)

```
php svg-icon-font-generator.phar create-css your-font.svg your-icons.css

```

The icon class names are based on the `glyph-name`s specified in the SVG file.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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 ~131 days

Total

4

Last Release

4592d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c7bdddffcaec444b7891b633f45fe2713d2b04ff21a6362fd748720d0822d58?d=identicon)[ausi](/maintainers/ausi)

---

Top Contributors

[![ausi](https://avatars.githubusercontent.com/u/367169?v=4)](https://github.com/ausi "ausi (48 commits)")

### Embed Badge

![Health badge](/badges/madeyourday-svg-icon-font-generator/health.svg)

```
[![Health](https://phpackages.com/badges/madeyourday-svg-icon-font-generator/health.svg)](https://phpackages.com/packages/madeyourday-svg-icon-font-generator)
```

###  Alternatives

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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