laravel-elixir-phplint
v5.3.0
Published
PHPLint Plugin for Laravel's Elixir
Downloads
19
Readme
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.