nsrosenqvist / phulp-underscore-filter
The underscore filter addon for phulp
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nsrosenqvist/phulp-underscore-filter
Requires
- php: >=5.6
- reisraff/phulp-filter: ^2.0
This package is auto-updated.
Last update: 2025-10-05 20:58:35 UTC
README
It's a third-party project that lets you filter out files that are prefixed by an underscore which is a common practice to mark files that are included by other files.
Installation
composer require nsrosenqvist/phulp-underscore-filter
Usage
<?php use NSRosenqvist\Phulp\UnderscoreFilter; use NSRosenqvist\Phulp\Assetic; $phulp->task('styles', function ($phulp) { $phulp->src(['assets/styles/'], '/scss$/') ->pipe(new UnderscoreFilter) ->pipe(new Assetic([ new \Assetic\Filter\ScssphpFilter, new \Assetic\Filter\CssMinFilter, ], 'theme.css')) ->pipe($phulp->dest('dist/styles/')); });
License
MIT