{"id":15169567,"url":"https://github.com/zero-archive/yii-less","last_synced_at":"2025-10-01T02:31:31.407Z","repository":{"id":12071406,"uuid":"14658575","full_name":"zero-archive/yii-less","owner":"zero-archive","description":"The Yii LessPhp extension that allows developers to compile LESS files into CSS on the fly, using the LessPhp compiler.","archived":true,"fork":false,"pushed_at":"2016-05-02T08:29:57.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-23T22:02:47.893Z","etag":null,"topics":["less","php","yii","yii-framework"],"latest_commit_sha":null,"homepage":"https://github.com/dotzero/yii-less","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zero-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-24T09:20:19.000Z","updated_at":"2023-01-28T13:41:25.000Z","dependencies_parsed_at":"2022-07-21T12:48:03.572Z","dependency_job_id":null,"html_url":"https://github.com/zero-archive/yii-less","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-archive%2Fyii-less","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-archive%2Fyii-less/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-archive%2Fyii-less/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-archive%2Fyii-less/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zero-archive","download_url":"https://codeload.github.com/zero-archive/yii-less/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219875269,"owners_count":16554661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["less","php","yii","yii-framework"],"created_at":"2024-09-27T07:03:52.761Z","updated_at":"2025-10-01T02:31:26.121Z","avatar_url":"https://github.com/zero-archive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yii LessPhp\n\n[![Latest Stable Version](https://poser.pugx.org/dotzero/yii-less/version)](https://packagist.org/packages/dotzero/yii-less)\n[![License](https://poser.pugx.org/dotzero/yii-less/license)](https://packagist.org/packages/dotzero/yii-less)\n\n**ELessPhp** is an extension for the **Yii PHP framework** that allows developers to compile LESS files into CSS on the fly, using the [LessPhp](http://leafo.net/lessphp/) compiler.\n\n## Requirements\n\n- [Yii Framework](https://github.com/yiisoft/yii) 1.1.14 or above\n- [Composer](http://getcomposer.org/doc/)\n\n## Install\n\n### Via composer:\n\n```bash\n$ composer require dotzero/yii-less\n```\n\n- Add vendor path to your configuration file, attach component and set properties:\n\n```php\n'aliases' =\u003e array(\n    ...\n    'vendor' =\u003e realpath(__DIR__ . '/../../vendor'),\n),\n'components' =\u003e array(\n    ...\n    'less' =\u003e array(\n        'class' =\u003e 'vendor.dotzero.yii-less.ELessCompiler',\n        'lessphpDir' =\u003e 'vendor.leafo.lessphp', // Path alias of lessc.inc.php directory\n        'forceCompile' =\u003e false, // Force recompile LESS into CSS every initializes the component\n        'files' =\u003e array( // Files to compile (relative from your base path)\n            'css/style.less' =\u003e 'css/style.css',\n            'css/userstyle.less' =\u003e 'css/userstyle.css',\n        ),\n    ),\n),\n```\n\n- Add the following to your config file `preload` section:\n\n```php\n'preload' =\u003e array(\n    ...\n    'less',\n),\n```\n\n## License\n\nLicensed under the MIT license: http://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzero-archive%2Fyii-less","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzero-archive%2Fyii-less","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzero-archive%2Fyii-less/lists"}