PHP Classes

File: src/voku/helper/HtmlMinInterface.php

Recommend this page to a friend!
  Classes of Lars Moelleken   PHP HTML Minify Class   src/voku/helper/HtmlMinInterface.php  
File: src/voku/helper/HtmlMinInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP HTML Minify Class
Compress HTML removing unnecessary data
Author: By
Last change: [+]: update vendor + removing more default attributes

- add "doRemoveDefaultTypeFromButton()"
- add "doRemoveDefaultMediaTypeFromStyleAndLinkTag()"
- add "doRemoveDeprecatedTypeFromStyleAndLinkTag()"
- add "overwriteTemplateLogicSyntaxInSpecialScriptTags()"
- use a new version of "voku/simple_html_dom" (4.7.15)
[+]: add "isHTML4" + "isXHTML"

-> fix "remove deprecated script-mime-types"
[+]: change the api of some new functions

- use "localDomains" (string[]) instead of "localDomain" (string)
- use the same strange "do*"-naming as for all other methods :/
[+]: "keep prefix on non-resources + make domain local" v3.1

- remove setLocalDomain method
- method doMakeSameDomainLinksRelative accepts domain directly
- isDoMakeSameDomainLinksRelative set to false on empty $localDomain string
[+]: "keep prefix on non-resources + make domain local" v2.1

-> fix phpstan reported stuff
[+]: "keep prefix on non-resources + make domain local" v2

-> remove the "$_SERVER" usage -> (security)
-> do not use regex if not needed (performance)
-> add some more test cases
keep prefix on non-resources + make domain local

Date: 2 years ago
Size: 2,934 bytes

You need to be a registered user and login to get this file.

1,611,101 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: