{"id":19212452,"url":"https://github.com/leafo/scssphp","last_synced_at":"2025-04-13T15:48:33.613Z","repository":{"id":4115210,"uuid":"5225555","full_name":"leafo/scssphp","owner":"leafo","description":"SCSS compiler written in PHP","archived":false,"fork":false,"pushed_at":"2019-09-13T13:43:10.000Z","size":2183,"stargazers_count":1340,"open_issues_count":8,"forks_count":214,"subscribers_count":68,"default_branch":"master","last_synced_at":"2025-04-06T13:01:28.889Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leafo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-29T20:55:31.000Z","updated_at":"2025-03-15T20:58:27.000Z","dependencies_parsed_at":"2022-08-30T11:41:09.121Z","dependency_job_id":null,"html_url":"https://github.com/leafo/scssphp","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fscssphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fscssphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fscssphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fscssphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafo","download_url":"https://codeload.github.com/leafo/scssphp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741144,"owners_count":21154249,"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":[],"created_at":"2024-11-09T13:47:03.032Z","updated_at":"2025-04-13T15:48:33.591Z","avatar_url":"https://github.com/leafo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This repo has been archived\n\n\n#### Please go to https://github.com/scssphp/scssphp\n\n----\n\n## scssphp\n\n![License](https://poser.pugx.org/leafo/scssphp/license.svg)\n\n`scssphp` is a compiler for SCSS written in PHP.\n\n### Running Tests\n\n`scssphp` uses [PHPUnit](https://github.com/sebastianbergmann/phpunit) for testing.\n\nRun the following command from the root directory to run every test:\n\n    vendor/bin/phpunit tests\n\nThere are several tests in the `tests/` directory:\n\n* `ApiTest.php` contains various unit tests that test the PHP interface.\n* `ExceptionTest.php` contains unit tests that test for exceptions thrown by the parser and compiler.\n* `FailingTest.php` contains tests reported in Github issues that demonstrate compatibility bugs.\n* `InputTest.php` compiles every `.scss` file in the `tests/inputs` directory\n  then compares to the respective `.css` file in the `tests/outputs` directory.\n* `ScssTest.php` extracts (ruby) `scss` tests from the `tests/scss_test.rb` file.\n* `ServerTest.php` contains functional tests for the `Server` class.\n\nWhen changing any of the tests in `tests/inputs`, the tests will most likely\nfail because the output has changed. Once you verify that the output is correct\nyou can run the following command to rebuild all the tests:\n\n    BUILD=1 vendor/bin/phpunit tests\n\nThis will compile all the tests, and save results into `tests/outputs`.\n\nTo enable the `scss` compatibility tests:\n\n    TEST_SCSS_COMPAT=1 vendor/bin/phpunit tests\n\n### Coding Standard\n\n`scssphp` source conforms to [PSR2](http://www.php-fig.org/psr/psr-2/).\n\nRun the following command from the root directory to check the code for \"sniffs\".\n\n    vendor/bin/phpcs --standard=PSR2 bin src tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fscssphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafo%2Fscssphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fscssphp/lists"}