Comments on: LessPHP Minify Integration for faster LessCSS development http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/ Web Development as seen by a Web Developer Thu, 15 Jan 2015 20:27:07 +0000 hourly 1 http://wordpress.org/?v=4.2.5 By: ocramius http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-595 Thu, 15 Jan 2015 20:27:07 +0000 http://marco-pivetta.com/?p=79#comment-595 Yeah, well… That didn’t exist at the time I wrote this thing :-)

]]>
By: ESW http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-552 Tue, 04 Feb 2014 17:38:35 +0000 http://marco-pivetta.com/?p=79#comment-552 Or, you could have just done the following with LessPHP: $less->setFormatter(“compressed”);

]]>
By: sören martius http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-184 Tue, 07 Aug 2012 08:08:30 +0000 http://marco-pivetta.com/?p=79#comment-184 Hi Marco,

i agree – i am also an developer but in my opinion sass with compass has some advantages – i am using sass/compass with assetic and it works great :)

]]>
By: ocramius http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-183 Mon, 06 Aug 2012 10:40:43 +0000 http://marco-pivetta.com/?p=79#comment-183 I am out of the “SASS vs LESS” discussion, since if it was me, we’d still be using <table/> everywhere.

I’m a software engineer, not a designer 😉

Anyway, I supporting this project since Assetic is much much better and fits better to my needs.

SASS is already supported in Assetic if you want to use it!

]]>
By: sören martius http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-182 Mon, 06 Aug 2012 10:12:45 +0000 http://marco-pivetta.com/?p=79#comment-182 Hi Marco,

Less is a good thing but have you seen sass yet? it comes with more features then less..check out this post: http://css-tricks.com/sass-vs-less/

]]>
By: ocramius http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-167 Sun, 05 Feb 2012 19:15:58 +0000 http://marco-pivetta.com/?p=79#comment-167 Hi Robert,
I wouldn’t suggest to use this for commercial projects as it comes shipped with no unit tests and is actually a hack for minify.
If you need to support commercial projects which need some stability, I’d consider using , which is tested and works like a charm in my Zend Framework 2 modules :)

]]>
By: Robert http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-166 Sun, 05 Feb 2012 16:49:04 +0000 http://marco-pivetta.com/?p=79#comment-166 Hi Marco,
Very good work. Just wanted to ask if you recommend using this code for commercial projects (my clients) or for personal projects only? Thanks.

]]>
By: ocramius http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-163 Wed, 25 Jan 2012 15:55:56 +0000 http://marco-pivetta.com/?p=79#comment-163 Could you do a PR on the repo? This is hacky, but as this isn’t being developed but just maintained then a hacky change can work 😉

]]>
By: Emil Edeholt http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-162 Wed, 25 Jan 2012 14:56:32 +0000 http://marco-pivetta.com/?p=79#comment-162 I’m not sure if this fixes the problem for everyone in every browser, but simply replacing the header() call at line 314 in min/lib/Minify.php like this fixed it for me:


if($name == "Content-Type" && stristr($val, "text/less")) {
header($name . ': ' . "text/css");
} else {
header($name . ': ' . $val);
}

]]>
By: ocramius http://marco-pivetta.com/lessphp-minify-integration-lesscss-development/#comment-160 Tue, 20 Dec 2011 11:03:46 +0000 http://marco-pivetta.com/?p=79#comment-160 I decided to stop working on this Minify LESS CSS integration as I’m really busy working on Zend Framework 2, Doctrine 2 and Assetic (which is a PHP 5.3 minify killer) and studying/making slides for my company… Even in my free time. Sorry…
As said, the repository is still on github and I’ll be pleased to accept any pull requests from anyone :)

]]>