PHPackages                             apsonex/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. apsonex/laravel-font

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

apsonex/laravel-font
====================

This is my package laravelfont

v1.0.3(11mo ago)010MITPHPPHP ^8.2

Since May 26Pushed 11mo agoCompare

[ Source](https://github.com/apsonex/laravel-font)[ Packagist](https://packagist.org/packages/apsonex/laravel-font)[ Docs](https://github.com/apsonex/laravelfont)[ RSS](/packages/apsonex-laravel-font/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (0)

Apsonex LaravelFont
===================

[](#apsonex-laravelfont)

[![Latest Version](https://camo.githubusercontent.com/0b796357316bd5de63d0444d421b1ba3218e8da354622dae227007c5d91c756b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170736f6e65782f6c61726176656c666f6e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apsonex/laravelfont)[![License](https://camo.githubusercontent.com/b4820d3b0c1fa068b5c23675ce3828c0b3c7d33ce065a08430b0431566f338a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6170736f6e65782f6c61726176656c666f6e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apsonex/laravelfont)

`apsonex/laravelfont` is a Laravel wrapper around the core [`apsonex/font`](https://github.com/apsonex/font) package, allowing you to easily manage fonts from supported providers like [Bunny Fonts](https://fonts.bunny.net/).

---

✨ Features
----------

[](#-features)

- List, search, and retrieve fonts by key, family, or type.
- Support for Bunny Fonts.
- Laravel auto-discovery with service provider and facade.
- Clean, chainable API.
- Ready for testing using Pest PHP.

---

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

[](#-installation)

```
composer require apsonex/laravelfont
```

---

📆 Usage
-------

[](#-usage)

### Resolving the Font Manager

[](#resolving-the-font-manager)

```
use Apsonex\LaravelFont\Facades\LaravelFont;

$manager = LaravelFont::bunny();
```

Or via service container:

```
$manager = app(\Apsonex\LaravelFont\LaravelFontManager::class)->bunny();
```

---

📚 API Methods
-------------

[](#-api-methods)

### Set Provider

[](#set-provider)

```
$manager->bunny();
```

### List Fonts

[](#list-fonts)

```
$manager->list(limit: 20, page: 1);
```

### Search Fonts

[](#search-fonts)

```
$manager->search(keyword: 'abo', limit: 20, page: 1);
```

### Find by Key

[](#find-by-key)

```
$manager->findByKey('abel');
```

### Find by Keys

[](#find-by-keys)

```
$manager->findByKeys(['abel', 'aboreto'], limit: 10);
```

### Find by Family

[](#find-by-family)

```
$manager->findByFamily('Abel', limit: 10);
```

### Find by Families

[](#find-by-families)

```
$manager->findByFamilies(['Abel', 'Aboreto'], limit: 10);
```

### Find by Type

[](#find-by-type)

```
$manager->findByType('sans-serif', limit: -1); // -1 to get all
```

---

📄 FontDTO
---------

[](#-fontdto)

Each font is returned as a `FontDTO` with the following structure:

```
FontDTO {
    string $key         // "abel"
    string $provider    // "bunny"
    string $category    // "sans-serif"
    string $family      // "Abel"
    string $urlString   // "abel:400,400i"
}
```

---

🧪 Testing
---------

[](#-testing)

Run the test suite using:

```
vendor/bin/pest
```

---

🛠 Development
-------------

[](#-development)

If you're working on this package, install dependencies and test it via:

```
composer install
composer test
```

---

📜 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance54

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Total

4

Last Release

348d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelapsonexlaravelfont

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/apsonex-laravel-font/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M626](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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