programic/php-linting-rules 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

programic/php-linting-rules

Composer 安装命令:

composer require programic/php-linting-rules

包简介

Shared linting rules for PHP projects

README 文档

README

This package is meant to store all the linting rules for PHP projects at Programic. It contains the following linting tools at the moment:

✅ Compatibility

Laravel Version Minimum PHP Version
12.x 8.2 - 8.4
11.x 8.2 - 8.4

🏗️ Installing

1. Require the composer package

composer require --dev programic/php-linting-rules

2. Run the setup command

vendor/bin/programic-lint-setup

This command will:

  • Setup the scripts to the consuming project it's composer.json
  • Brings the config files to the workspace root, if not exists. This is required for the package to work properly.

Use --force to overwrite configuration files.

👷 Usage

After installing running the setup command, you can run the following commands to check your code:

composer lint
composer lint:tlint
composer lint:phpmd
composer lint:phpstan
composer lint:ecs
composer lint:fix

Editor Setup

Some tools have integrations to work with your editor. You can find the instructions for each tool below:

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固