PHPackages                             log1x/blade-svg-sage - 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. [Templating &amp; Views](/categories/templating)
4. /
5. log1x/blade-svg-sage

ActivePackage[Templating &amp; Views](/categories/templating)

log1x/blade-svg-sage
====================

Composer package to add support for Blade SVG by Adam Wathan to Roots Sage.

v3.0.0(2y ago)7577.3k—4.5%11[1 PRs](https://github.com/Log1x/blade-svg-sage/pulls)MITPHPPHP &gt;=7.0CI failing

Since Apr 9Pushed 2y ago9 watchersCompare

[ Source](https://github.com/Log1x/blade-svg-sage)[ Packagist](https://packagist.org/packages/log1x/blade-svg-sage)[ Docs](https://github.com/log1x/blade-svg-sage)[ GitHub Sponsors](https://github.com/Log1x)[ RSS](/packages/log1x-blade-svg-sage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (0)

Blade SVG for Sage
==================

[](#blade-svg-for-sage)

[![Latest Stable Version](https://camo.githubusercontent.com/287dffad1d9eaef27f4788c51e59805a112da1ca85bdcd7d32ba1593d9369b16/68747470733a2f2f706f7365722e707567782e6f72672f6c6f6731782f626c6164652d7376672d736167652f762f737461626c65)](https://packagist.org/packages/log1x/blade-svg-sage) [![Total Downloads](https://camo.githubusercontent.com/63a3ff76d60303ba96f5e4ab3a978905e86d0f758d3990fab7caa2b76c960f0d/68747470733a2f2f706f7365722e707567782e6f72672f6c6f6731782f626c6164652d7376672d736167652f646f776e6c6f616473)](https://packagist.org/packages/log1x/blade-svg-sage)

Blade SVG for Sage is a wrapper for [Blade SVG](https://github.com/adamwathan/blade-svg) by Adam Wathan allowing you to easily use SVG's in your Blade templates, either as an inline SVG or SVG sprite when using Sage 9.

**Using Sage 10?** Check out [**Sage SVG**](https://github.com/Log1x/sage-svg).

Requirements
------------

[](#requirements)

- [Sage](https://github.com/roots/sage) &gt;= 9.0
- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 7.0
- [Composer](https://getcomposer.org/download/)

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

[](#installation)

Install via Composer:

```
$ composer require log1x/blade-svg-sage
```

Configuration
-------------

[](#configuration)

Use the provided configuration filter below to modify the default configuration.

```
add_filter('bladesvg', function () {
    return [
        'svg_path' => 'resources/svg',
        'spritesheet_path' => 'resources/svg/spritesheet.svg',
        'spritesheet_url' => '',
        'sprite_prefix' => '',
        'inline' => true,
        'class' => ''
    ];
});
```

Usage
-----

[](#usage)

Please refer to the original [Blade SVG documentation](https://github.com/adamwathan/blade-svg#basic-usage) for usage examples.

Note: When calling helper functions directly, you must use the `App` namespace.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~236 days

Recently: every ~515 days

Total

11

Last Release

961d ago

Major Versions

v1.0.6 → v2.0.02018-11-18

v2.0.2 → v3.0.02023-10-01

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5745907?v=4)[Brandon](/maintainers/Log1x)[@Log1x](https://github.com/Log1x)

---

Top Contributors

[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (40 commits)")[![strarsis](https://avatars.githubusercontent.com/u/9271436?v=4)](https://github.com/strarsis "strarsis (2 commits)")[![hybridvision](https://avatars.githubusercontent.com/u/11492432?v=4)](https://github.com/hybridvision "hybridvision (1 commits)")[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (1 commits)")

---

Tags

bladeblade-directivesroots-iosagesage9svgwordpresswordpresssvgbladerootssage

### Embed Badge

![Health badge](/badges/log1x-blade-svg-sage/health.svg)

```
[![Health](https://phpackages.com/badges/log1x-blade-svg-sage/health.svg)](https://phpackages.com/packages/log1x-blade-svg-sage)
```

###  Alternatives

[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)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[log1x/sage-directives

A set of Blade directives for use with Roots Sage.

297709.3k5](/packages/log1x-sage-directives)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[blade-ui-kit/blade-heroicons

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

64227.9M111](/packages/blade-ui-kit-blade-heroicons)[log1x/sage-html-forms

Create forms using HTMLForms.io and Sage 10 Blade components

5636.1k](/packages/log1x-sage-html-forms)

PHPackages © 2026

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