1. Go to this page and download the library: Download kagagnon/bem-blade library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kagagnon / bem-blade example snippets
KAGagnon\BEMBlade\BEMServiceProvider::class,
return [
/**
* Separator between block and element
*
* Default: '__'
*/
'element_separator' => '__',
/**
* Separator between modifer and block/element
*
* Default: '--'
*/
'modifier_separator' => '--',
/**
* Should @bem create a tag element
*
* Default: false
*/
'create_tag' => false,
/**
* If create_tag is true, what's the default tag name
*
* Default: 'div'
*/
'default_tag' => 'div',
/**
* Prefix of BEM classes.
*
* Default: ''
*/
'block_prefix' => '',
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.