Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phplint Laravel Package

overtrue/phplint

PHPLint is a fast PHP syntax linter that runs multiple lint processes in parallel to speed up checking large codebases. Supports modern PHP versions, with easy installation via Composer, PHAR, Docker, or Phive, and configurable rules and paths.

View on GitHub
Deep Wiki
Context7

Extension

PHPLint may be extended with many other new features by using concept of extension. Each extension is based on Event Driven Architecture

UML Diagram

UML Diagram

Generated by bartlett/graph-uml package via the resources/graph-uml/build.php script.

OutputFormat

This extension is responsible to print results to target defined by option. See Example below.

NOTE: Version 9.0 supports JSON (log-json) and Junit (log-junit) format.

Whatever you specify zero or more option, results will always be printed to standard output (see Overtrue\PHPLint\Output\ConsoleOutput object). unless you give --quiet.

ProgressPrinter

This extension is responsible to print progress of file checking.

Here is preview of what it will look like :

Progress Printer Normal

Progress Printer Verbose

ProgressBar

This extension is responsible to print progress of file checking with the Symfony ProgressBar Console Helper

Here is preview of what it will look like :

Progress Bar Normal

Progress Bar Verbose

Progress Bar Verbose Max

ProgressIndicator

This extension is useful to let users know that the phplint command isn't stalled. Learn more with the official Symfony documentation on ProgressIndicator Console Helper

Progress Indicator Running

Progress Indicator Finished

Example(s)

Default progress printer widget:

<?php
use Overtrue\PHPLint\Extension\ProgressPrinter;

$extensions = [new ProgressPrinter()];

Default progress bar widget:

<?php
use Overtrue\PHPLint\Extension\ProgressBar;

$extensions = [new ProgressBar()];

Default progress indicator widget:

<?php
use Overtrue\PHPLint\Extension\ProgressIndicator;

$extensions = [new ProgressIndicator()];

Default outputs (console, JSON and Junit formats):

<?php
use Overtrue\PHPLint\Configuration\OptionDefinition;
use Overtrue\PHPLint\Extension\OutputFormat;

$extensions = [
    new OutputFormat([
        OptionDefinition::LOG_JSON,
        OptionDefinition::LOG_JUNIT,
    ])
];

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport