2017 © Pedro Peláez
 

library blade-icons

Laravel Blade SVG icon injection.

image

digitlab/blade-icons

Laravel Blade SVG icon injection.

  • Thursday, August 11, 2016
  • by digitlab
  • Repository
  • 1 Watchers
  • 0 Stars
  • 648 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 29 % Grown

The README.md

Blade Icons

StyleCI Build Status Total Downloads Latest Stable Version License, (*1)

An SVG icon injector for Laravel Blade., (*2)

Installation

Install using composer:, (*3)

composer require digitlab/blade-icons

Add the service provider in app/config/app.php:, (*4)

DigitLab\BladeIcons\BladeIconsServiceProvider::class,

Create the cache path (defaults to /storage/framework/icons) and resource path (defaults to /resources/svgs) as specified in your config., (*5)

Usage

You can insert an SVG resource using the blade syntax @icon('name')., (*6)

To override svg attributes, add them in an array: @icon('name', ['width' => 300])., (*7)

CSS

It is suggested that you add the following css to style your icons:, (*8)

.icon {
  display: inline-block;
  vertical-align: text-top;
  fill: currentColor;
}

License

Blade Icons is licensed under The MIT License (MIT)., (*9)

The Versions

11/08 2016

dev-master

9999999-dev http://digitlab.co.za

Laravel Blade SVG icon injection.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicholas Wiersma

11/08 2016

v1.0.1

1.0.1.0 http://digitlab.co.za

Laravel Blade SVG icon injection.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicholas Wiersma

25/07 2016

v1.0.0

1.0.0.0 http://digitlab.co.za

Laravel Blade SVG icon injection.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicholas Wiersma