{"id":41900260,"url":"https://github.com/imarc/craft-sass","last_synced_at":"2026-01-25T15:04:50.451Z","repository":{"id":28505950,"uuid":"32022447","full_name":"imarc/craft-sass","owner":"imarc","description":"A Craft plugin that compiles SASS on the server as needed.","archived":false,"fork":false,"pushed_at":"2017-01-12T21:45:53.000Z","size":18,"stargazers_count":14,"open_issues_count":5,"forks_count":4,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-08-29T19:32:51.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imarc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-03-11T14:36:24.000Z","updated_at":"2023-03-20T13:46:46.000Z","dependencies_parsed_at":"2022-08-21T13:50:24.453Z","dependency_job_id":null,"html_url":"https://github.com/imarc/craft-sass","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/imarc/craft-sass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-sass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-sass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-sass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-sass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imarc","download_url":"https://codeload.github.com/imarc/craft-sass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imarc%2Fcraft-sass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28754808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-25T15:04:49.638Z","updated_at":"2026-01-25T15:04:50.434Z","avatar_url":"https://github.com/imarc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Sass Plugin for Craft\n=====================\n\nThis is a Sass plugin for Craft using [scssphp](http://leafo.net/scssphp/).\n\nIt compiles SASS to CSS on the fly, and caches the results to disk until the file changes.\n\n\nInstallation\n------------\n\nInstallation requires [composer](https://getcomposer.org/). This plugn also is makes use of [composer/installers](https://github.com/composer/installers) to make the plugin composer compatible.\n\n1. In the **root** of your project, run `composer require imarc/craft-sass`.This will create a `vendor/` directory as well as automatically put the plugin it self in `craft/plugins/sass/`.\n2. Upload both the `vendor/` and `craft/plugins/sass/` directories.\n3. Enable the plugin in the Craft Plugins panel.\n\n\nUsage\n-----\n\nUpload SCSS files within your document root. For example, `public/css/styles.scss`.\n\nLinking to that file from a twig template should look something like this:\n\n```\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"{{ craft.sass.link('/css/styles.scss') }}\" media=\"all\" /\u003e\n```\n\n`craft.sass.link()` generates a link that is routed to the plugin, which in turn compiles the SASS file into CSS.\n\nTests\n-----\n\nTo run the tests, be sure you have phpunit installed and then:\n\n```\ncomposer install\nphpunit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimarc%2Fcraft-sass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimarc%2Fcraft-sass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimarc%2Fcraft-sass/lists"}