Представляет собой пакет для маппинга названий брендов
- PHP >= 7.0
- Laravel >= 5.5
Via composer:
$ composer require roadkit/brands-mapping
Enable an alias by editing config/app.php:
'aliases' => [
...
'BrandsMapping' => 'Roadkit\BrandsMapping\BrandsMappingFacade',
...
]
echo BrandsMapping::normalize('BLUEPRINT', 'shate')
BLUE PRINT
echo BrandsMapping::origin('BLUE PRINT', 'shate')
BLUEPRINT
./vendor/bin/phpunit
or
composer test
Please see CHANGELOG for more information what has changed recently.
The MIT License (MIT). Please see License File for more information.