PHPackages                             avvertix/materialicons-laravel-bridge - 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. avvertix/materialicons-laravel-bridge

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

avvertix/materialicons-laravel-bridge
=====================================

Material Design Icons packaged for easy SVG inlining in Laravel Blade templates

v2.1.0(5y ago)48.4k3Apache-2.0PHPPHP &gt;=7.2.5

Since Feb 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/avvertix/materialicons-laravel-bridge)[ Packagist](https://packagist.org/packages/avvertix/materialicons-laravel-bridge)[ RSS](/packages/avvertix-materialicons-laravel-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (11)Used By (0)

[![CI](https://github.com/avvertix/materialicons-laravel-bridge/workflows/CI/badge.svg)](https://github.com/avvertix/materialicons-laravel-bridge/workflows/CI/badge.svg)

Important

Material Icons Laravel Bridge has been deprecated with 2.1.0 as the last release. There are a number of alternatives based on [Blade Icons (Blade UI Kit)](https://github.com/blade-ui-kit/blade-icons?tab=readme-ov-file#icon-packages). Thank you for the support and contributions over the years. The repository will remain open and archived.

Material Icons Laravel Bridge
=============================

[](#material-icons-laravel-bridge)

Easily use Google Material Design SVG icons in Laravel Blade templates.

For a full list of available icons see the [SVG directories](./assets/icons).

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

[](#requirements)

- PHP 7.2 or higher
- Laravel 7.14 or higher
- [`blade-ui-kit/blade-icons`](https://github.com/blade-ui-kit/blade-icons)

> Using version `1.x`? Check the [upgrade guide](./UPGRADE.md).

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

[](#installation)

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

```
composer require avvertix/materialicons-laravel-bridge
```

> The service provider `MaterialIcons\MaterialIconsBridgeServiceProvider::class`is automatically registered as part of the Laravel service discovery

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

[](#configuration)

By default the class `icon` is added to the `svg` tag when inserted into a page. You can change this behavior by overriding the configuration using the `config/materialiconset.php` file.

> A ready to use configuration file can be inserted in your config directory using `php artisan vendor:publish --provider="MaterialIcons\MaterialIconsBridgeServiceProvider"`

You can specify any default CSS classes you'd like to be applied to your icons using the `class` option:

```
