承接 devrabiul/laravel-php-inspector 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

devrabiul/laravel-php-inspector

最新稳定版本:v1.2

Composer 安装命令:

composer require devrabiul/laravel-php-inspector

包简介

A Laravel package to inspect PHP code for version compatibility using PHPCompatibility and PHP_CodeSniffer.

README 文档

README

LaravelPhpInspector is a developer tool for Laravel that helps you check your project’s PHP 8.4 and Laravel 12 compatibility.
It uses PHP_CodeSniffer and the PHPCompatibility ruleset under the hood to scan your code and highlight deprecated functions, syntax issues, and Laravel helper changes.

Latest Stable Version Total Downloads Monthly Downloads GitHub license Buy us a tree GitHub Repo stars

🚀 Live Demo

👉 Try the Live Demo

Live Demo Thumbnail

✨ Features

  • ✅ Detects deprecated PHP functions, classes, and syntax
  • ✅ Highlights Laravel helpers and validation rules that need updating
  • ✅ Compatible with PHP 8.4
  • ✅ Works with Laravel 10, 11, and 12
  • ✅ Excludes vendor/, node_modules/, and public assets by default
  • ✅ Provides Artisan command for easy inspection

📦 Installation

Install the package via Composer:

composer require devrabiul/laravel-php-inspector --dev

Then publish the package config:

php artisan vendor:publish --provider="Devrabiul\LaravelPhpInspector\LaravelPhpInspectorServiceProvider"

⚙️ Usage

Run the inspector to check your Laravel app for PHP compatibility:

php artisan phpinspector-compat:check

Available Options

  • --php= → Target PHP version (overrides config) Example:

    php artisan phpinspector-compat:check --php=8.4
  • --path= → Specific path to scan (overrides config) Example:

    php artisan phpinspector-compat:check --path=app/Models

By default, the command scans your entire Laravel project (excluding vendor/, storage/, and *.blade.php files).

🎯 Get Started Today!

Experience the magic of LaravelPhpInspector and enrich your Laravel application with modern PHP compatibility checks.

🤝 Contributing

We welcome contributions! Please fork the repository, make your changes, and submit a pull request. For feature requests or issues, open a GitHub issue.

📄 License

This package is open-source software licensed under the MIT license.

🌱 Treeware

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

📬 Contact

For support or inquiries, feel free to reach out: 📧 devrabiul@gmail.com

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固