Minify Laravel 4 HTML output
554
5
1
Package Data
Maintainer Username: damianromanowski
Maintainer Contact: damian@deb-admin.com (Damian Romanowski)
Package Create Date: 2013-10-10
Package Last Update: 2013-12-02
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 03:04:30
Package Statistics
Total Downloads: 554
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 5
Total Watchers: 1
Total Forks: 2
Total Open Issues: 0

Minify HTML for Laravel 4

Latest Stable Version Total Downloads Build Status

Minify HTML provides a no-frills way of quickly compressing your HTML output

Installation

To get the latest version of Minify HTML simply require it in your composer.json file.

"damianromanowski/minifyhtml": "dev-master"

You'll then need to run composer install to download it and have the autoloader updated.

Note that once Minify HTML has a stable version tagged you should use a tagged release instead of the master branch.

Once Minify HTML is installed you need to register the service provider with the application. Open up app/config/app.php and find the providers key.

'providers' => array(
    
    'Damianromanowski\Minifyhtml\MinifyhtmlServiceProvider'

)

Configuration

Minify HTML provides easy configuration options compressing your output. It comes with a configuration file that you can edit at your leisure.

You'll need to run php artisan config:publish damianromanowski/minifyhtml to publish the configuration to your application.

Step 1: Enable the compressor

'enabled' => true,

And you're all done!