PHPackages                             kagagnon/bem-blade - 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. kagagnon/bem-blade

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

kagagnon/bem-blade
==================

Blade shortcodes to generate BEM class

0.1.3(8y ago)1589MITPHP

Since Apr 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/kagagnon/BEMBlade)[ Packagist](https://packagist.org/packages/kagagnon/bem-blade)[ RSS](/packages/kagagnon-bem-blade/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

Installation
============

[](#installation)

Install via composer with

```
$ composer install kagagnon/bem-blade
```

After successfully installing BEM Blade, add the service provider in your app configs.

```
KAGagnon\BEMBlade\BEMServiceProvider::class,
```

The service provider will boot and register new directives in the Blade engine.

Optional configurations
-----------------------

[](#optional-configurations)

You can publish the config file with the following command:

```
$ php artisan vendor:publish --provider="KAGagnon\BEMBlade\BEMServiceProvider" --tag="config"
```

You can then change your element and modifier separators to your liking.

```
