riddlestone / zf-gulp
A Zend Framework 2 module for Gulp configuration
Requires
- php: ^7.3
- container-interop/container-interop: ^1.2
- riddlestone/zf-console: ^1.0
- symfony/console: ^4.3
- zendframework/zend-component-installer: ^1.0 || ^0.7
- zendframework/zend-servicemanager: ^3.4
Requires (Dev)
- phpunit/phpunit: ^8.4
This package is auto-updated.
Last update: 2020-02-06 13:31:22 UTC
README
A Zend Framework 2 module for Gulp configuration
Repository archived 2020-02-06
This repository has been replaced with riddlestone/brokkr-gulpfile.
Note that the new package is much simpler, so some work will be involved in switching to use it.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
composer require riddlestone/zf-gulp
Usage
To include your Gulp pipeline in the generated configuration file, create a Riddlestone\ZF\Gulp\ProviderInterface
implementation, and add it to your module's config file:
<?php return [ 'gulp' => [ 'providers' => [ 'My\\GulpProvider', ], ], 'service_manager' => [ 'factories' => [ 'My\\GulpProvider' => 'My\\GulpProviderFactory', ], ], ];
Have the provider return an array of Riddlestone\ZF\Gulp\PipelineInterface
objects.
You can then generate gulpfile.js
using the console command :
vendor/bin/console gulp
Get Involved
File issues at https://github.com/riddlestone/zf-gulp/issues