Minify HTML in PHP with just a single class
-
Updated
Dec 3, 2023 - PHP
Minify HTML in PHP with just a single class
This is simply compress your final out of Larvel Application and serve to the browser.
The objective of this class is offer an automatic system of protection for developers's projects and simplify some security operations as the check of CSRF or XSS all in a simple class. Infact you could just call the main method to have better security yet without too much complicated operations.
🗜️ 3ObjectsStreamZip is a PHP library to stream objects from AWS S3 as a zip file.
This class can minify HTML, JavaScript and CSS to take less space. It can take a string with either HTML, JavaScript or CSS, and parses it to eliminate unnecessary text. The class returns as result a a string that is smaller than the original.
🚀 Speed up your TXP websites: strip white spaces or tabs and GZIP compress pages on the fly.
⚡ PHP client for the Google Closure Compiler API in one file.
Compress your jpg image files
A custom suite of Twig filters for HTML manipulation
Add a description, image, and links to the compress topic page so that developers can more easily learn about it.
To associate your repository with the compress topic, visit your repo's landing page and select "manage topics."