laravel-elixir-6-phplint
v1.0.0
Published
PHPLint Plugin for Laravel's Elixir. This package is a fork of huntwj/laravel-elixir-phplint. It seems the project is abandond.
Downloads
2
Readme
laravel-elixir-phplint
Support for Laravel Elixir 6+
Install
This package is a fork of huntwj/laravel-elixir-phplint. It seems the project is abandond.
$ 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.