laravel-elixir-phplint

5.3.0 • Public • Published

laravel-elixir-phplint

Install

$ npm install laravel-elixir-phplint --save-dev

or during development for the latest version:

$ npm install huntwj/laravel-elixir-phplint --save-dev

Usage

Example Gulpfile

var elixir = require('laravel-elixir');
 
require('laravel-elixir-phplint');
 
elixir(function(mix) {
  mix.phplint();
}

Advanced Example

var elixir = require('laravel-elixir');
 
require('laravel-elixir-phplint');
 
elixir(function(mix) {
  mix.phplint([
    'app/**/*.php',
    'test/**/*.php'
  ]);
}

Credits

The general form and structure as well as some code snippets of this plugin were borrowed (or viciously stolen?) from the ponko2/laravel-elixir-eslint project on Github.

Package Sidebar

Install

npm i laravel-elixir-phplint

Weekly Downloads

2

Version

5.3.0

License

ISC

Last publish

Collaborators

  • huntwj