Skip to content

One assets url helper for less on codeigniter framework and compile less file with lessc.inc.php.

License

Notifications You must be signed in to change notification settings

justinyueh/codeigniter-less-url

Repository files navigation

What is CodeIgniter-less-url

CodeIgniter-less-url is an less assets helper for CodeIgniter Framework, a toolkit for people wants to use lesscss width CodeIgniter. It'll comiple your .less file while your edit it and access it. It integrated with lessc.inc.php.

  • CodeIgniter-less-url is a develop mode solution, you can precompile your static file before release.

lesscss && CodeIgniter

How to use it

<link rel="stylesheet" type="text/css" href="<?php echo less_url('css/main.less'); ?>" media="all">

will be produced to

<link rel="stylesheet" type="text/css" href="http://domain/less.php?path=css/main.less" media="all">

Server Requirements

PHP version 5.4 or newer is recommended.

It should work on 5.2.4 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.

License

Please see the license agreement.

About

One assets url helper for less on codeigniter framework and compile less file with lessc.inc.php.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages