定制 damianromanowski/minifyhtml 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

damianromanowski/minifyhtml

Composer 安装命令:

composer require damianromanowski/minifyhtml

包简介

Minify Laravel 4 HTML output

README 文档

README

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!

统计信息

  • 总下载量: 1.03k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-10-10