nsrosenqvist / phulp-changed
The changed files filter addon for phulp
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nsrosenqvist/phulp-changed
Requires
- php: >=5.6
- reisraff/phulp-filter: ^2.0
This package is auto-updated.
Last update: 2025-10-05 21:07:06 UTC
README
It's a third-party project that lets you filter out files that haven't changed.
Installation
composer require nsrosenqvist/phulp-changed
Usage
You must pass the destination directory as the argument in the construct so that the source files can be compared with that directory.
<?php use NSRosenqvist\Phulp\ChangedFilter; $phulp->task('images', function ($phulp) { $phulp->src(['assets/images/'], '/png$/') ->pipe(new ChangedFilter('dist/images/')) ->pipe($phulp->dest('dist/images/')); });
License
MIT