|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Laravel Page Speed||2,314||77||19||10 days ago||31||January 15, 2021||40||mit||PHP|
|Package to optimize your site automatically which results in a 35%+ optimization|
|Kldns||371||8 months ago||38||PHP|
|Dnsrecords.io||299||2 months ago||PHP|
|A webapp to fetch dns records|
|Mailspfchecker||123||3 months ago||4||September 05, 2022||2||mit||PHP|
|A Laravel package to check if you can send e-mail through a given mailserver in name of a given e-mail address|
|Porter||100||6 months ago||5||other||PHP|
|A docker based multi-site setup for local PHP development. Inspired by Laravel Valet, Homestead and Vessel.|
|Probind||66||a month ago||8||gpl-3.0||PHP|
|ProBIND3 - DNS Manager|
|Laravel Dns||27||a month ago||1||June 01, 2021||mit||PHP|
|A Laravel wrapper for spatie/dns. Allows to query and validate DNS records.|
|Cumulus||25||8 months ago||PHP|
|CLI tool to import/update DNS records from Laravel Vapor to Cloudflare.|
|Laraflag||17||2 years ago||1||PHP|
|Laravel+Docker setup from flagstudio.ru|
|Aws Terraform Laravel||8||7 years ago||PHP|
|A repository for showcasing a full application lifecycle on AWS, from orchestration to deployments|
Simple package to minify HTML output on demand which results in a 35%+ optimization. Laravel Page Speed was created by Renato Marinho, and currently maintained by João Roberto P. Borges, Lucas Mesquita Borges and Renato Marinho.
You can install the package via composer:
composer require renatomarinho/laravel-page-speed
This package supports Laravel Package Discovery.
php artisan vendor:publish --provider="RenatoMarinho\LaravelPageSpeed\ServiceProvider"
\RenatoMarinho\LaravelPageSpeed\Middleware\CollapseWhitespace::class and other middleware must be registered in the kernel, for example:
The RemoveComments::class filter eliminates HTML, JS and CSS comments. The filter reduces the transfer size of HTML files by removing the comments. Depending on the HTML file, this filter can significantly reduce the number of bytes transmitted on the network.
The CollapseWhitespace::class filter reduces bytes transmitted in an HTML file by removing unnecessary whitespace. This middleware invoke RemoveComments::class filter before executation.
Note: Do not register the "RemoveComments::class" filter with it. Because it will be called automatically by "CollapseWhitespace::class"
The RemoveQuotes::class filter eliminates unnecessary quotation marks from HTML attributes. While required by the various HTML specifications, browsers permit their omission when the value of an attribute is composed of a certain subset of characters (alphanumerics and some punctuation characters).
Quote removal produces a modest savings in byte count on most pages.
The ElideAttributes::class filter reduces the transfer size of HTML files by removing attributes from tags when the specified value is equal to the default value for that attribute. This can save a modest number of bytes, and may make the document more compressible by canonicalizing the affected tags.
The InsertDNSPrefetch::class filter Injects tags in the HEAD to enable the browser to do DNS prefetching.
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.
The TrimUrls::class filter trims URLs by resolving them by making them relative to the base URL for the page.
Warning: TrimUrls::class is considered medium risk. It can cause problems if it uses the wrong base URL. This can happen, for example, if you serve HTML that will be pasted verbatim into other HTML pages. If URLs are trimmed on the first page, they will be incorrect for the page they are inserted into. In this case, just disable the middleware.
The InlineCss::class filter transforms the inline "style" attribute of tags into classes by moving the CSS to the header.
If necessary cancel deferring in some script, use
data-pagespeed-no-deferas script attribute to cancel deferring.
After installing package, you may need to configure some options.
You would probably like to set up the local environment to get a readable output.
//config/laravel-page-speed.php //Set this field to false to disable the laravel page speed service. 'enable' => env('LARAVEL_PAGE_SPEED_ENABLE', true),
You would probably like to configure the package to skip some routes.
//config/laravel-page-speed.php //You can use * as wildcard. 'skip' => [ '*.pdf', //Ignore all routes with final .pdf '*/downloads/*',//Ignore all routes that contain 'downloads' 'assets/*', // Ignore all routes with the 'assets' prefix ];
By default this field comes configured with some options, so feel free to configure according to your needs...
Notice: This package skip automatically 'binary' and 'streamed' responses. See File Downloads.
$ composer test
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.