PHPackages                             cybercog/php-svg-font - 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. cybercog/php-svg-font

ActiveLibrary

cybercog/php-svg-font
=====================

PHP SVG font parser

1.0.1(2mo ago)210.0k—5.6%[1 issues](https://github.com/cybercog/php-svg-font/issues)1MITPHPPHP ^8.1CI passing

Since Jan 4Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/cybercog/php-svg-font)[ Packagist](https://packagist.org/packages/cybercog/php-svg-font)[ Fund](https://paypal.me/antonkomarev)[ RSS](/packages/cybercog-php-svg-font/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (7)Used By (1)

PHP SVG Font
============

[](#php-svg-font)

[![Releases](https://camo.githubusercontent.com/98e60a0d3de96e6f0a707043dca7b6a58d6b9b739144e5700c5feb47e0045203/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6379626572636f672f7068702d7376672d666f6e742e7376673f7374796c653d666c61742d737175617265)](https://github.com/cybercog/php-svg-font/releases)[![Build](https://camo.githubusercontent.com/87a0361f25458c1c37968be32c70a0cf1542ecf35188a90baef8f28a0b9434ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6379626572636f672f7068702d7376672d666f6e742f74657374732e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/cybercog/php-svg-font/actions/workflows/tests.yml)[![License](https://camo.githubusercontent.com/38fbe1015d3fd5f427cc822ff255d2d8f931aa0e2331956ada4643ab6733e02a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6379626572636f672f7068702d7376672d666f6e742e7376673f7374796c653d666c61742d737175617265)](https://github.com/cybercog/php-svg-font/blob/master/LICENSE)

Introduction
------------

[](#introduction)

PHP SVG Font files reader and manipulator. It uses [PHP Unicode](https://github.com/cybercog/php-unicode) package under the hood.

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

[](#installation)

Pull in the package through Composer.

```
composer require cybercog/php-svg-font
```

Usage
-----

[](#usage)

### Instantiate FontList object

[](#instantiate-fontlist-object)

```
$fontList = \Cog\SvgFont\FontList::ofFile(__DIR__ . '/DejaVuSans.svg');
```

### Retrieve SvgFont object from the FontList

[](#retrieve-svgfont-object-from-the-fontlist)

```
$font = \Cog\SvgFont\FontList::ofFile(__DIR__ . '/DejaVuSans.svg')->getById('DejaVuSans');
```

License
-------

[](#license)

- `PHP SVG Font` package is open-sourced software licensed under the [MIT license](LICENSE) by [Anton Komarev](https://komarev.com).

About CyberCog
--------------

[](#about-cybercog)

[CyberCog](https://cybercog.su) is a Social Unity of enthusiasts. Research the best solutions in product &amp; software development is our passion.

- [Follow us on Twitter](https://twitter.com/cybercog)

[![CyberCog](https://cloud.githubusercontent.com/assets/1849174/18418932/e9edb390-7860-11e6-8a43-aa3fad524664.png)](https://cybercog.su)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance75

Regular maintenance activity

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

78d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3fddc40462126bbc119e373ed6a3f942a90a400f30c076c447c0625b841c4ef?d=identicon)[antonkomarev](/maintainers/antonkomarev)

---

Top Contributors

[![antonkomarev](https://avatars.githubusercontent.com/u/1849174?v=4)](https://github.com/antonkomarev "antonkomarev (6 commits)")

---

Tags

svgfonttypographyglyph

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cybercog-php-svg-font/health.svg)

```
[![Health](https://phpackages.com/badges/cybercog-php-svg-font/health.svg)](https://phpackages.com/packages/cybercog-php-svg-font)
```

###  Alternatives

[fortawesome/font-awesome

The iconic font, CSS, and SVG framework

76.5k7.3M126](/packages/fortawesome-font-awesome)[kartik-v/bootstrap-star-rating

A simple yet powerful JQuery star rating plugin for Bootstrap.

1.1k4.5M5](/packages/kartik-v-bootstrap-star-rating)[blade-ui-kit/blade-icons

A package to easily make use of icons in your Laravel Blade views.

2.5k34.2M309](/packages/blade-ui-kit-blade-icons)[picqer/php-barcode-generator

An easy to use, non-bloated, barcode generator in PHP. Creates SVG, PNG, JPG and HTML images from the most used 1D barcode standards.

1.8k25.5M88](/packages/picqer-php-barcode-generator)[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.4M48](/packages/rinvex-countries)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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