PHPackages                             tomhatzer/blade-svg-origin - 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. tomhatzer/blade-svg-origin

ActiveLibrary

tomhatzer/blade-svg-origin
==========================

v0.3.6(5y ago)011MITPHP

Since Sep 5Pushed 5y agoCompare

[ Source](https://github.com/tomhatzer/blade-svg-origin)[ Packagist](https://packagist.org/packages/tomhatzer/blade-svg-origin)[ RSS](/packages/tomhatzer-blade-svg-origin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (13)Used By (0)

This is an unmaintained fork of the original blade-svg repository by adamwathan made compatible with Laravel 8.
---------------------------------------------------------------------------------------------------------------

[](#this-is-an-unmaintained-fork-of-the-original-blade-svg-repository-by-adamwathan-made-compatible-with-laravel-8)

Blade SVG
=========

[](#blade-svg)

Easily inline SVG images in your Blade templates.

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

[](#installation)

You can install this package via Composer by running this command in your terminal in the root of your project:

`composer require tomhatzer/blade-svg-origin`

Getting started
---------------

[](#getting-started)

The package's service provider will automatically register itself.

Publish the Blade SVG config file:

```
php artisan vendor:publish --provider="BladeSvg\BladeSvgServiceProvider"

```

### Configuration

[](#configuration)

Inside `config/blade-svg.php`, you can specify any default CSS classes you'd like to be applied to your SVG images using the `class` option:

```
