riddlestone/zf-gulp

This package is abandoned and no longer maintained. The author suggests using the riddlestone/brokkr-gulpfile package instead.

A Zend Framework 2 module for Gulp configuration

v1.0.0 2019-11-10 15:32 UTC

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