{"id":16629042,"url":"https://github.com/reisraff/phulp-less-compiler","last_synced_at":"2025-10-30T03:31:30.477Z","repository":{"id":57064911,"uuid":"59141691","full_name":"reisraff/phulp-less-compiler","owner":"reisraff","description":"The less-compiler addon for phulp","archived":false,"fork":false,"pushed_at":"2021-01-27T19:09:34.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T06:11:19.536Z","etag":null,"topics":["compiler-addon","less","less-compiler","php","phulp","phulpplugin"],"latest_commit_sha":null,"homepage":"https://github.com/reisraff/phulp","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/reisraff.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":"2016-05-18T18:35:41.000Z","updated_at":"2021-01-27T19:09:36.000Z","dependencies_parsed_at":"2022-08-24T04:40:07.380Z","dependency_job_id":null,"html_url":"https://github.com/reisraff/phulp-less-compiler","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reisraff%2Fphulp-less-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reisraff%2Fphulp-less-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reisraff%2Fphulp-less-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reisraff%2Fphulp-less-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reisraff","download_url":"https://codeload.github.com/reisraff/phulp-less-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238930130,"owners_count":19554122,"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":["compiler-addon","less","less-compiler","php","phulp","phulpplugin"],"created_at":"2024-10-12T04:39:10.599Z","updated_at":"2025-10-30T03:31:25.170Z","avatar_url":"https://github.com/reisraff.png","language":"PHP","readme":"# phulp-less-compiler\n\nThe less-compiler addon for [PHULP](https://github.com/reisraff/phulp). It's a wrapper for [less.php](https://github.com/oyejorge/less.php).\n\n## Install\n\n```bash\n$ composer require reisraff/phulp-less-compiler\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse Phulp\\LessCompiler\\LessCompiler;\n\n$phulp-\u003etask('less', function ($phulp) {\n    $phulp-\u003esrc(['src/'], '/css$/')\n        // compile\n        -\u003epipe(new LessCompiler)\n        // write your compiled files\n        -\u003epipe($phulp-\u003edest('dist/'));\n});\n\n```\n\n### Options\n\n***URI*** : The uri root to prepend to any relative image or @import urls in the .less file.\n\n```php\n\u003c?php\n\nuse Phulp\\LessCompiler\\LessCompiler;\n\n$compiler = new LessCompiler([\n    // default: null\n    'uri' =\u003e '../../'\n]);\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freisraff%2Fphulp-less-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freisraff%2Fphulp-less-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freisraff%2Fphulp-less-compiler/lists"}