Download the PHP package ryangjchandler/laravel-bunny-fonts without Composer
On this page you can find all versions of the php package ryangjchandler/laravel-bunny-fonts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ryangjchandler/laravel-bunny-fonts
More information about ryangjchandler/laravel-bunny-fonts
Files in ryangjchandler/laravel-bunny-fonts
Package laravel-bunny-fonts
Short Description Manage Bunny Fonts programatically in your Laravel projects.
License MIT
Homepage https://github.com/ryangjchandler/laravel-bunny-fonts
Informations about the package laravel-bunny-fonts
Manage Bunny Fonts programatically in your Laravel projects.
This package provides a small set of utilities for managing Bunny Fonts programatically.
Installation
You can install the package via Composer:
Usage
Inside of your AppServiceProvider::boot()
method, use the BunnyFonts
class to register font families and variants.
This package provides a
FontFamily
enum that contains all fonts available on Bunny!If you want to preview a font, click through to the enum and use the handy link in the comment above the case.
Inside of your Blade templates, use the <x-bunny-fonts />
component or @bunnyFonts()
directive to render the necessary HTML tags and load your fonts.
Sets
Out of the box this package provides a default
set of fonts. Calling add()
directly on the BunnyFonts
class will register fonts under the default
set.
If your site uses different fonts in different places, it's still possible to register them using this package by creating a custom "set".
Then when you use the Blade component or directive, you can provide the set you wish to render.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Ryan Chandler
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-bunny-fonts with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0