{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/5779","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/5779/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/5779/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/5779/events","html_url":"https://github.com/yiisoft/yii2/issues/5779","id":46858196,"number":5779,"title":"Add options to minify/compress php page html output","user":{"login":"adiramardiani","id":8703419,"avatar_url":"https://avatars.githubusercontent.com/u/8703419?v=3","gravatar_id":"","url":"https://api.github.com/users/adiramardiani","html_url":"https://github.com/adiramardiani","followers_url":"https://api.github.com/users/adiramardiani/followers","following_url":"https://api.github.com/users/adiramardiani/following{/other_user}","gists_url":"https://api.github.com/users/adiramardiani/gists{/gist_id}","starred_url":"https://api.github.com/users/adiramardiani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adiramardiani/subscriptions","organizations_url":"https://api.github.com/users/adiramardiani/orgs","repos_url":"https://api.github.com/users/adiramardiani/repos","events_url":"https://api.github.com/users/adiramardiani/events{/privacy}","received_events_url":"https://api.github.com/users/adiramardiani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-26T23:06:51Z","updated_at":"2015-05-12T10:17:45Z","closed_at":"2014-10-26T23:10:24Z","body":"I am looking for a options that can minify my php page html output like google page speed does. This can removes about 30% of the page size by turning the html code into one line, no tabs, no new lines, no comments."},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/101223283","html_url":"https://github.com/yiisoft/yii2/issues/5779#issuecomment-101223283","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/5779","id":101223283,"user":{"login":"adiramardiani","id":8703419,"avatar_url":"https://avatars.githubusercontent.com/u/8703419?v=3","gravatar_id":"","url":"https://api.github.com/users/adiramardiani","html_url":"https://github.com/adiramardiani","followers_url":"https://api.github.com/users/adiramardiani/followers","following_url":"https://api.github.com/users/adiramardiani/following{/other_user}","gists_url":"https://api.github.com/users/adiramardiani/gists{/gist_id}","starred_url":"https://api.github.com/users/adiramardiani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adiramardiani/subscriptions","organizations_url":"https://api.github.com/users/adiramardiani/orgs","repos_url":"https://api.github.com/users/adiramardiani/repos","events_url":"https://api.github.com/users/adiramardiani/events{/privacy}","received_events_url":"https://api.github.com/users/adiramardiani/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T10:17:45Z","updated_at":"2015-05-12T10:17:45Z","body":"\"Note, never use this method with `pre` or `textarea` tags. It's not that trivial to deal with such tags as it may seem at first sight. For this case you should consider using [HTML Tidy Project](http://tidy.sourceforge.net/) instead.\"\r\n\r\nIf the limit about note above, I think this [code](https://github.com/fitztrev/laravel-html-minify/blob/master/src/Fitztrev/LaravelHtmlMinify/LaravelHtmlMinifyCompiler.php) is exclude `pre` or `textarea` "}}