covaleski/sass-php
Composer 安装命令:
composer require covaleski/sass-php
包简介
Install and run Sass using Composer.
README 文档
README
Run Sass binaries from Composer and compile SCSS files programatically from PHP.
Installation
Install this package using the Composer package manager:
composer require covaleski/sass-php
Usage
Use the vendor/bin/sass-php to install, update or remove Sass:
vendor/bin/sass-php install vendor/bin/sass-php install latest vendor/bin/sass-php install 1.101.0
Once a Sass binary is downloaded, use vendor/bin/sass to compile SCSS files:
vendor/bin/sass input.scss output.css
To programatically interact with Sass from PHP, use the Sass facade:
use Covaleski\SassPhp\Sass\Sass; Sass::build() ->style(Sass::COMPRESSED) ->sourceMap(false) ->compileFile('input.scss', 'output.css');
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-12