📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

laravel-elixir-6-phplint

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-elixir-6-phplint

PHPLint Plugin for Laravel's Elixir. This package is a fork of huntwj/laravel-elixir-phplint. It seems the project is abandond.

1.0.0
latest
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created

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.

FAQs

Package last updated on 16 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts