Added GrahamCampbell/htmlmin
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
"graham-campbell/markdown": "^3.0",
|
||||
"graham-campbell/throttle": "^3.0",
|
||||
"graham-campbell/exceptions": "^1.0",
|
||||
"graham-campbell/htmlmin": "~3.0",
|
||||
"guzzlehttp/guzzle": "^5.0",
|
||||
"jenssegers/date": "^2.0",
|
||||
"mccool/laravel-auto-presenter": "^3.0",
|
||||
|
||||
110
composer.lock
generated
110
composer.lock
generated
@@ -4,7 +4,7 @@
|
||||
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"hash": "3f3ab385fbc40d0d67da0de8ee0f87ee",
|
||||
"hash": "252d2a69c35e100d6eccfd4766be4aa2",
|
||||
"packages": [
|
||||
{
|
||||
"name": "cachethq/segment",
|
||||
@@ -919,6 +919,69 @@
|
||||
],
|
||||
"time": "2015-02-04 20:18:59"
|
||||
},
|
||||
{
|
||||
"name": "graham-campbell/htmlmin",
|
||||
"version": "v3.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/GrahamCampbell/Laravel-HTMLMin.git",
|
||||
"reference": "de12b55cb2449824e102a5dd165289e34a9147e1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/GrahamCampbell/Laravel-HTMLMin/zipball/de12b55cb2449824e102a5dd165289e34a9147e1",
|
||||
"reference": "de12b55cb2449824e102a5dd165289e34a9147e1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"illuminate/contracts": "5.0.*",
|
||||
"illuminate/filesystem": "5.0.*",
|
||||
"illuminate/http": "5.0.*",
|
||||
"illuminate/routing": "5.0.*",
|
||||
"illuminate/support": "5.0.*",
|
||||
"illuminate/view": "5.0.*",
|
||||
"mrclay/minify": "~2.2",
|
||||
"php": ">=5.4.7"
|
||||
},
|
||||
"require-dev": {
|
||||
"graham-campbell/testbench": "~2.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "3.0-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"GrahamCampbell\\HTMLMin\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Graham Campbell",
|
||||
"email": "graham@mineuk.com"
|
||||
}
|
||||
],
|
||||
"description": "HTMLMin Is A Simple HTML Minifier For Laravel 5",
|
||||
"keywords": [
|
||||
"Graham Campbell",
|
||||
"GrahamCampbell",
|
||||
"Laravel HTMLMin",
|
||||
"Laravel-HTMLMin",
|
||||
"framework",
|
||||
"html",
|
||||
"html minifier",
|
||||
"htmlmin",
|
||||
"laravel",
|
||||
"minifier"
|
||||
],
|
||||
"time": "2015-03-10 19:45:07"
|
||||
},
|
||||
{
|
||||
"name": "graham-campbell/markdown",
|
||||
"version": "v3.0.1",
|
||||
@@ -1934,6 +1997,51 @@
|
||||
],
|
||||
"time": "2015-03-09 09:58:04"
|
||||
},
|
||||
{
|
||||
"name": "mrclay/minify",
|
||||
"version": "2.2.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mrclay/minify.git",
|
||||
"reference": "3c11ba8232a2155a1a29552aafc528be5fb0a662"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/mrclay/minify/zipball/3c11ba8232a2155a1a29552aafc528be5fb0a662",
|
||||
"reference": "3c11ba8232a2155a1a29552aafc528be5fb0a662",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-pcre": "*",
|
||||
"php": ">=5.2.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"tubalmartin/cssmin": "~2.4.8"
|
||||
},
|
||||
"suggest": {
|
||||
"tubalmartin/cssmin": "Support minify with CSSMin (YUI PHP port)"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"min/lib/"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"BSD-3-Clause"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Stephen Clay",
|
||||
"email": "steve@mrclay.org",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Minify is a PHP5 app that helps you follow several rules for client-side performance. It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers",
|
||||
"homepage": "http://code.google.com/p/minify/",
|
||||
"time": "2014-10-30 22:58:02"
|
||||
},
|
||||
{
|
||||
"name": "mtdowling/cron-expression",
|
||||
"version": "v1.0.4",
|
||||
|
||||
@@ -152,6 +152,7 @@ return [
|
||||
'Fideloper\Proxy\TrustedProxyServiceProvider',
|
||||
'GrahamCampbell\Binput\BinputServiceProvider',
|
||||
'GrahamCampbell\Exceptions\ExceptionsServiceProvider',
|
||||
'GrahamCampbell\HTMLMin\HTMLMinServiceProvider',
|
||||
'GrahamCampbell\Markdown\MarkdownServiceProvider',
|
||||
'GrahamCampbell\Security\SecurityServiceProvider',
|
||||
'GrahamCampbell\Throttle\ThrottleServiceProvider',
|
||||
|
||||
67
config/htmlmin.php
Normal file
67
config/htmlmin.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of StyleCI.
|
||||
*
|
||||
* (c) Graham Campbell <graham@mineuk.com>
|
||||
* (c) Joseph Cohen <joseph.cohen@dinkbit.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Automatic Blade Optimizations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option enables minification of the the blade views as they are
|
||||
| compiled. These optimizations have little impact on php processing time
|
||||
| as the optimizations are only applied once and are cached. This package
|
||||
| will do nothing by default to allow it to be used without minifying
|
||||
| pages automatically.
|
||||
|
|
||||
| Default: false
|
||||
|
|
||||
*/
|
||||
|
||||
'blade' => true,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Force Blade Optimizations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option forces blade minification on views where there such
|
||||
| minification may be dangerous. This should only be used if you are fully
|
||||
| aware of the potential issues this may cause. Obviously, this setting is
|
||||
| dependent on blade minification actually being enabled.
|
||||
|
|
||||
| PLEASE USE WITH CAUTION
|
||||
|
|
||||
| Default: false
|
||||
|
|
||||
*/
|
||||
|
||||
'force' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Automatic Live Optimizations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option enables minification of the html responses just before they
|
||||
| are served. These optimizations have greater impact on php processing
|
||||
| time as the optimizations are applied on every request. This package
|
||||
| will do nothing by default to allow it to be used without minifying
|
||||
| pages automatically.
|
||||
|
|
||||
| Default: false
|
||||
|
|
||||
*/
|
||||
|
||||
'live' => false,
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user