定制 aluisio/laravel-code-analyzer 二次开发

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

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

aluisio/laravel-code-analyzer

最新稳定版本:v1.3.6

Composer 安装命令:

composer require aluisio/laravel-code-analyzer

包简介

Create new artisan commands to simplify your code quality workflow

README 文档

README

Laravel Code Analyzer provides convenient Artisan commands to simplify your code quality workflow. It integrates common PHP static analysis tools into your Laravel project, making it easy to maintain clean, efficient, and high-quality code.

Installation

Install the package via Composer:

composer require aluisio/laravel-code-analyzer --dev

Laravel should automatically discover the service provider. If not, add the following service provider to your config/app.php file:

Aluisio\LaravelCodeAnalyzer\LaravelCodeAnalyzerServiceProvider::class,

Usage

The package provides the following Artisan commands:

Run Pint

php artisan pint

Pass additional arguments directly to Pint:

php artisan pint --test

Run PHPStan

php artisan phpstan analyse

Pass additional arguments directly to PHPStan:

php artisan phpstan analyse --memory-limit=2G

Run Rector

php artisan rector

Pass additional arguments directly to Rector:

php artisan rector --dry-run

Run All Analysis Commands

Run all analysis commands sequentially (Pint, Rector, PHPStan):

php artisan analyse

Requirements

  • Laravel
  • Pint
  • Rector
  • PHPStan

Author

Aluisio Pires
Email: aluisiopireseng@gmail.com

© 2025 Aluisio Pires

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: none
  • 更新时间: 2025-03-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固