定制 wundii/phplint 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wundii/phplint

最新稳定版本:0.3.3

Composer 安装命令:

composer require --dev wundii/phplint

包简介

This tool is the fast way, to checks the syntax of your PHP files.

README 文档

README

PHP-Tests PHPStan Downloads

This program is one of the fastest tools for static code analysis and error detection in PHP source code. The native php lint checking is used here.

Installation and Usage

composer require wundii/phplint --dev
php vendor/bin/phplint php vendor/bin/phplint --config=phplint.php php vendor/bin/phplint init php vendor/bin/phplint list php vendor/bin/phplint --help php vendor/bin/phplint --no-config php vendor/bin/phplint --no-config --paths=src --paths=tests --skip=vendor

Functionality over the config file (phplint.php)

  • php cgi executable (default: php)
  • php extension (default: php)
  • paths (default: src)
  • skip
  • memory limit (default: 512M)
  • async processes (default: 10)
  • async processes timeout (default: 60)
  • console warnings (default: true)
  • console notice (default: true)
  • cache class (default: Symfony\Component\Cache\Adapter\FilesystemAdapter)
  • no exit code (default: false)
  • no process bar (default: false)

Development for PHPLint

composer scripts

composer rector-dry composer rector-apply composer phpstan composer ecs-dry composer ecs-apply composer phpunit composer cache-clear

complete checks before merge

composer complete-check

To-do list for version 1.0.0

  • add symfony cache-system
  • refactor LintConsoleOutput class
  • refactor LintConfig class
  • run without config file
  • test BootstrapInputResolver
  • test createLintConfigFromInput
  • test no-config with config options
  • extension of the documentation

Feedback and Contributions

I welcome feedback, bug reports and contributions from the community! If you found a bug or have a suggestion for improvement, please create an issue.

Every contribution is welcome!

统计信息

  • 总下载量: 4.65k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 7
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固