peterfox/laravel-static-analysis-starter-kit 问题修复 & 功能扩展

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

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

peterfox/laravel-static-analysis-starter-kit

Composer 安装命令:

composer create-project peterfox/laravel-static-analysis-starter-kit

包简介

The skeleton application for the Laravel framework.

README 文档

README

Packagist Downloads

The Laravel Static Analysis Starter Kit

This starter template is less for making projects and more for educational purposes. When creating a project with this starter kit you can quickly play around with static analysis tools with Laravel.

How to use it

Have the Laravel installer installed

laravel new --using peterfox/laravel-static-analysis-starter-kit

What's installed?

This starter kit is to demo the use of:

How to run

You can action all of these in one go using:

composer ci

This will run tests as well between linting and phpstan.

What's configured?

PHPStan

The project includes the following PHPStan extensions:

At current the phpstan.neon.dist config sets level 6 and covers the app and tests folders.

EasyCoding Standards

EasyCoding Standards is a wrapper around PHP CS Fixer in the same way Laravel Pint is but it makes the config easier to write. Instead of JSON, it's a PHP file that IDEs will be able to auto-complete with.

The config for EasyCoding Standards lives in ecs.php.

Rector

Rector is for automatically fixing, upgrading and improving code. This will act in the same way PHP CS Fixer does but goes even further but performing a type hint analysis before applying rules.

The config for rector lives in rector.php.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-09