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

Installation

  1. Requirements
  2. PHAR
  3. Docker
  4. Phive
  5. Composer

Requirements

Version Status Requirements
9.x Active development PHP >= 8.1
6.x End Of Life PHP >= 8.2
5.x End Of Life PHP >= 8.1
4.x End Of Life PHP >= 8.0
3.x End Of Life PHP >= 7.4

PHAR

The preferred method of installation is to use the PHPLint PHAR which can be downloaded from the most recent Github Release. This method ensures you will not have any dependency conflict issue.

IMPORTANT : Embedded with Composer dependencies that are PHP 8.2 compatible !

Docker

You can install phplint with Docker

docker pull overtrue/phplint:latest

Phive

You can install phplint globally with Phive

phive install overtrue/phplint --force-accept-unsigned

To upgrade global phplint use the following command:

phive update overtrue/phplint --force-accept-unsigned

You can also install phplint locally to your project with Phive and configuration file .phive/phars.xml

<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
    <phar name="overtrue/phplint" version="^9.7" copy="false" />
</phive>
phive install --force-accept-unsigned

Composer

You can install phplint with Composer

composer global require overtrue/phplint ^9.7

If you cannot install it because of a dependency conflict, or you prefer to install it for your project, we recommend you to take a look at bamarni/composer-bin-plugin. Example:

composer require --dev bamarni/composer-bin-plugin
composer bin phplint require --dev overtrue/phplint

vendor/bin/phplint
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