{"id":13660366,"url":"https://github.com/peteboere/css-crush","last_synced_at":"2025-10-15T12:19:56.930Z","repository":{"id":409310,"uuid":"924414","full_name":"peteboere/css-crush","owner":"peteboere","description":"CSS preprocessor.","archived":false,"fork":false,"pushed_at":"2025-09-09T11:45:12.000Z","size":1832,"stargazers_count":540,"open_issues_count":1,"forks_count":49,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-09-11T07:34:48.322Z","etag":null,"topics":["css","preprocessor"],"latest_commit_sha":null,"homepage":"http://the-echoplex.net/csscrush","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/peteboere.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2010-09-20T09:08:38.000Z","updated_at":"2025-09-09T11:45:11.000Z","dependencies_parsed_at":"2024-01-14T17:04:20.015Z","dependency_job_id":"2679d355-71b0-4fd1-9893-b0d9f4fe7e7c","html_url":"https://github.com/peteboere/css-crush","commit_stats":{"total_commits":496,"total_committers":11,"mean_commits":45.09090909090909,"dds":0.08467741935483875,"last_synced_commit":"19956cbf25263204db5b832b784deebad5236c0e"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/peteboere/css-crush","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteboere%2Fcss-crush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteboere%2Fcss-crush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteboere%2Fcss-crush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteboere%2Fcss-crush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peteboere","download_url":"https://codeload.github.com/peteboere/css-crush/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteboere%2Fcss-crush/sbom","scorecard":{"id":728458,"data":{"date":"2025-08-11","repo":{"name":"github.com/peteboere/css-crush","commit":"7d055b59071d1908cd1bb4d190f2c480508c8047"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/php.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/peteboere/css-crush/php.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/peteboere/css-crush/php.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/peteboere/css-crush/php.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/peteboere/css-crush/php.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/php.yml:42","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T13:38:22.937Z","repository_id":409310,"created_at":"2025-08-22T13:38:22.937Z","updated_at":"2025-08-22T13:38:22.937Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279077248,"owners_count":26098234,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","preprocessor"],"created_at":"2024-08-02T05:01:20.701Z","updated_at":"2025-10-15T12:19:56.892Z","avatar_url":"https://github.com/peteboere.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"![CI](https://github.com/peteboere/css-crush/actions/workflows/php.yml/badge.svg)\n\n\u003cimg src=\"http://the-echoplex.net/csscrush/images/css-crush-external.svg?v=2\" alt=\"Logo\"/\u003e\n\nA CSS preprocessor designed to enable a modern and uncluttered CSS workflow.\n\n* Automatic vendor prefixing\n* Variables\n* Import inlining\n* Nesting\n* Functions (color manipulation, math, data-uris etc.)\n* Rule inheritance (@extends)\n* Mixins\n* Minification\n* Lightweight plugin system\n* Source maps\n\nSee the [docs](http://the-echoplex.net/csscrush) for full details.\n\n********************************\n\n## Setup (PHP)\n\nIf you're using [Composer](http://getcomposer.org) you can use Crush in your project with the following line in your terminal:\n\n```shell\ncomposer require css-crush/css-crush:dev-master\n```\n\nIf you're not using Composer yet just download the library into a convenient location and require the bootstrap file:\n\n```php\n\u003c?php require_once 'path/to/CssCrush.php'; ?\u003e\n```\n\n## Basic usage (PHP)\n\n```php\n\u003c?php\n\necho csscrush_tag('css/styles.css');\n\n?\u003e\n```\n\nCompiles the CSS file and outputs the following link tag:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"css/styles.crush.css\" media=\"all\" /\u003e\n```\n\nThere are several other [functions](http://the-echoplex.net/csscrush#api) for working with files and strings of CSS:\n\n* `csscrush_file($file, $options)` - Returns a URL of the compiled file.\n* `csscrush_string($css, $options)` - Compiles a raw string of css and returns the resulting css.\n* `csscrush_inline($file, $options, $tag_attributes)` - Returns compiled css in an inline style tag.\n\nThere are a number of [options](http://the-echoplex.net/csscrush#api--options) available for tailoring the output, and a collection of bundled [plugins](http://the-echoplex.net/csscrush#plugins) that cover many workflow issues in contemporary CSS development.\n\n********************************\n\n## Setup (JS)\n\n```shell\nnpm install csscrush\n```\n\n## Basic usage (JS)\n\n```js\n// All methods can take the standard options (camelCase) as the second argument.\nconst csscrush = require('csscrush');\n\n// Compile. Returns promise.\ncsscrush.file('./styles.css', {sourceMap: true});\n\n// Compile string of CSS. Returns promise.\ncsscrush.string('* {box-sizing: border-box;}');\n\n// Compile and watch file. Returns event emitter (triggers 'data' on compile).\ncsscrush.watch('./styles.css');\n```\n\n********************************\n\n## Contributing\n\nIf you think you've found a bug please create an [issue](https://github.com/peteboere/css-crush/issues) explaining the problem and expected result.\n\nLikewise, if you'd like to request a feature please create an [issue](https://github.com/peteboere/css-crush/issues) with some explanation of the requested feature and use-cases.\n\n[Pull requests](https://help.github.com/articles/using-pull-requests) are welcome, though please keep coding style consistent with the project (which is based on [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)).\n\n\n## Licence\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteboere%2Fcss-crush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeteboere%2Fcss-crush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteboere%2Fcss-crush/lists"}