You can install the package via composer:
composer require mindtwo/laravel-blade-spacelessThe package will register itself automatically.
Optionally you can publish the package configuration using:
php artisan vendor:publish --provider=mindtwo\\Spaceless\\SpacelessServiceProviderThe new blade directives @spaceless and @endspaceless are now available in your blade views:
@spaceless
<!DOCTYPE html>
<html>
<head></head>
<body></body>
</html>
@endspacelessPlease see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email info@mindtwo.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.