PHP Classes
elePHPant
Icontem

Laravel Minify HTML Output: Minify the HTML generated using Blade templates

Recommend this page to a friend!
  Info   View files Documentation   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-02-05 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 24 All time: 9,851 This week: 393Up
Version License PHP version Categories
laravel-html-minify 1.0MIT/X Consortium ...5HTML, PHP 5, Compression, Performance...
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

Name: Dipesh Sukhia <contact>
Classes: 1 package by
Country: ???
Age: ???
All time rank: 4334
Week rank: 919 Up

 

Details

description of the package

Latest Version on Packagist Build Status Quality Score Total Downloads

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.

  Files folder image Files  
File Role Description
Files folder imagesrc (3 files, 2 directories)
Files folder imagetests (1 file)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageconfig (1 file)
Files folder imageMiddleware (1 file)
  Plain text file LaravelHtmlMinify.php Class Class source
  Plain text file LaravelHtmlMinifyFacade.php Class Class source
  Plain text file LaravelHtmlMinifyServiceProvider.php Class Class source

  Files folder image Files  /  src  /  config  
File Role Description
  Accessible without login Plain text file config.php Aux. Auxiliary script

  Files folder image Files  /  src  /  Middleware  
File Role Description
  Plain text file LaravelHtmlMinify.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Plain text file ExampleTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:24
This week:0
All time:9,851
This week:393Up