itrulia/minimalist

Minify your Laravel views

dev-master 2013-12-07 06:46 UTC

This package is not auto-updated.

Last update: 2024-12-16 15:31:10 UTC


README

Minimalist is a wrapper of mrclay/minify which integrates it into Laravel's View engine.

Installation

Add itrulia/minimalist to composer.json.

"itrulia/minimalist": "dev-master"

Run composer update to pull down the latest version of Minimalist. Now open up app/config/app.php and add the service provider to your providers array.

'providers' => array(
    'Itrulia\Minimalist\MinimalistServiceProvider',
)

Usage

Rename your View file to NAME.blade.min.php, it is enough if you rename your layout file.