3
3
</p >
4
4
5
5
<p align =" center " >
6
- <a href =" https://gitscrum.com " ><img src =" https://site.gitscrum.com/badges/project.svg?project=gitscrum/bulls-eye-gitscrum-37 " alt =" GitScrum " ></a >
7
- <a href =" https://packagist.org/packages/renatomarinho/laravel-page-speed " ><img src =" https://poser.pugx.org/renatomarinho/laravel-page-speed/license " alt =" License " ></a >
6
+ <a href =" https://travis-ci.org/renatomarinho/laravel-page-speed " ><img src =" https://travis-ci.org/renatomarinho/laravel-page-speed.svg?branch=master " alt =" Build Status " ></a >
8
7
<a href =" https://packagist.org/packages/renatomarinho/laravel-page-speed " ><img src =" https://poser.pugx.org/renatomarinho/laravel-page-speed/version " alt =" Latest Stable Version " ></a >
9
8
<a href =" https://packagist.org/packages/renatomarinho/laravel-page-speed " ><img src =" https://poser.pugx.org/renatomarinho/laravel-page-speed/downloads " alt =" Total Downloads " ></a >
9
+ <a href =" https://packagist.org/packages/renatomarinho/laravel-page-speed " ><img src =" https://poser.pugx.org/renatomarinho/laravel-page-speed/license " alt =" License " ></a >
10
10
</p >
11
11
12
12
# Laravel Page Speed
13
13
14
- ### Simple package to minify HTML output on demand which results in a 35%+ optimization.
14
+ Simple package to minify HTML output on demand which results in a 35%+ optimization. Laravel Page Speed was created by [ Renato Marinho ] [ link-author ] , and currently maintained by [ João Roberto P. Borges ] [ link-maintainer ] , [ Lucas Mesquita Borges ] [ link-maintainer-2 ] and [ Renato Marinho ] [ link-author ] .
15
15
16
16
## Installation
17
17
18
18
> ** Requires:**
19
- - ** [ PHP 7.1.3 +] ( https://php.net/releases/ ) **
20
- - ** [ Laravel 5.5 +] ( https://github.com/laravel/laravel ) **
19
+ - ** [ PHP 7.2.5 +] ( https://php.net/releases/ ) **
20
+ - ** [ Laravel 6.0 +] ( https://github.com/laravel/laravel ) **
21
21
22
22
You can install the package via composer:
23
23
@@ -44,8 +44,8 @@ protected $middleware = [
44
44
\RenatoMarinho\LaravelPageSpeed\Middleware\ElideAttributes::class,
45
45
\RenatoMarinho\LaravelPageSpeed\Middleware\InsertDNSPrefetch::class,
46
46
\RenatoMarinho\LaravelPageSpeed\Middleware\RemoveComments::class,
47
- \RenatoMarinho\LaravelPageSpeed\Middleware\TrimUrls::class,
48
- \RenatoMarinho\LaravelPageSpeed\Middleware\RemoveQuotes::class,
47
+ // \RenatoMarinho\LaravelPageSpeed\Middleware\TrimUrls::class,
48
+ // \RenatoMarinho\LaravelPageSpeed\Middleware\RemoveQuotes::class,
49
49
\RenatoMarinho\LaravelPageSpeed\Middleware\CollapseWhitespace::class, // Note: This middleware invokes "RemoveComments::class" before it runs.
50
50
\RenatoMarinho\LaravelPageSpeed\Middleware\DeferJavascript::class,
51
51
]
@@ -89,7 +89,7 @@ The **InsertDNSPrefetch::class** filter Injects <link rel="dns-prefetch" href="/
89
89
90
90
DNS resolution time varies from <1ms for locally cached results, to hundreds of milliseconds due to the cascading nature of DNS. This can contribute significantly towards total page load time. This filter reduces DNS lookup time by providing hints to the browser at the beginning of the HTML, which allows the browser to pre-resolve DNS for resources on the page.
91
91
92
- ### \RenatoMarinho\LaravelPageSpeed\Middleware\TrimUrls::class,
92
+ ### ⚠️ \RenatoMarinho\LaravelPageSpeed\Middleware\TrimUrls::class,
93
93
94
94
The ** TrimUrls::class** filter trims URLs by resolving them by making them relative to the base URL for the page.
95
95
@@ -162,10 +162,8 @@ $ composer test
162
162
163
163
Please see [ CONTRIBUTING] ( CONTRIBUTING.md ) for details.
164
164
165
- ## Credits
165
+ ## Contributors
166
166
167
- - [ Renato Marinho] [ link-author ]
168
- - [ João Roberto P. Borges] [ link-maintainer ]
169
167
- [ Caneco] ( https://twitter.com/caneco ) (for the logo)
170
168
- [ All Contributors] [ link-contributors ]
171
169
@@ -181,6 +179,7 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
181
179
[ link-after ] : https://i.imgur.com/IKWKLkL.png
182
180
[ link-author ] : https://github.com/renatomarinho
183
181
[ link-maintainer ] : https://github.com/joaorobertopb
182
+ [ link-maintainer-2 ] : https://github.com/lucasMesquitaBorges
184
183
[ link-contributors ] : ../../contributors
185
184
[ link-file-download ] : https://laravel.com/docs/6.0/responses#file-downloads
186
185
[ link-package-discovery ] : https://laravel.com/docs/6.0/packages#package-discovery
0 commit comments