mindtwo/laravel-blade-spaceless

Spaceless Blade Directive

1.2.2 2023-04-05 15:53 UTC

This package is auto-updated.

Last update: 2024-05-05 18:24:33 UTC


README

Latest Stable Version Total Downloads MIT Software License

Installation

You can install the package via composer:

composer require mindtwo/laravel-blade-spaceless

The package will register itself automatically.

Optionally you can publish the package configuration using:

php artisan vendor:publish --provider=mindtwo\\Spaceless\\SpacelessServiceProvider

How to use?

The new blade directives @spaceless and @endspaceless are now available in your blade views:

@spaceless
<!DOCTYPE html>
<html>
    <head></head>
    <body></body>
</html>
@endspaceless

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email info@mindtwo.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.