Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2020-02-05 (22 hours ago) | | Not yet rated by the users | | Total: 3 This week: 3 | | All time: 9,845 This week: 117 |
|
Description | | Author |
This package can be used to minify the HTML generated using Blade templates.
It provides a service that can be used in Laravel applications to optimize the site of the HTML output to of pages generated by those applications. Currently it can:
- Remove white spaces and tags before and after HTML tags
- Remove comments
- Replace multiple empty lines with just spaces and tabs with with a single empty line
- Remove spaces and tabs that are between two HTML tags
- Remove spaces, line breaks and tabs:
* After an end curly brace eventually followed by a comma
* Between and end brace and and start curly brace
* Between a comma and a curly brace
* Between a tag name and a tag value | |
|
Details
description of the package
This package helps to minify your project`s html (blade file) output.
Installation
You can install the package via composer:
composer require dipeshsukhia/laravel-html-minify
Usage
php artisan vendor:publish --tag=LaravelHtmlMinify
add in env
for enable
Html_Minify = true
for disable
Html_Minify = false
Testing
composer test
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 dipesh.sukhia@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.