{"id":32608923,"url":"https://github.com/devrabiul/laravel-php-inspector","last_synced_at":"2026-01-20T16:39:58.721Z","repository":{"id":318291707,"uuid":"1069654060","full_name":"devrabiul/laravel-php-inspector","owner":"devrabiul","description":"LaravelPhpInspector is a developer tool for Laravel that helps you check your project’s PHP 8.4 and Laravel 12 compatibility.","archived":false,"fork":false,"pushed_at":"2025-10-06T09:11:40.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T11:23:34.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devrabiul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-04T11:07:15.000Z","updated_at":"2025-10-06T09:10:43.000Z","dependencies_parsed_at":"2025-10-06T11:33:47.529Z","dependency_job_id":null,"html_url":"https://github.com/devrabiul/laravel-php-inspector","commit_stats":null,"previous_names":["devrabiul/laravel-php-inspector"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/devrabiul/laravel-php-inspector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrabiul%2Flaravel-php-inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrabiul%2Flaravel-php-inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrabiul%2Flaravel-php-inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrabiul%2Flaravel-php-inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devrabiul","download_url":"https://codeload.github.com/devrabiul/laravel-php-inspector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrabiul%2Flaravel-php-inspector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281810117,"owners_count":26565429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-30T12:51:18.993Z","updated_at":"2025-10-30T12:51:23.082Z","avatar_url":"https://github.com/devrabiul.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🕵️ LaravelPhpInspector\n\n**LaravelPhpInspector** is a developer tool for Laravel that helps you check your project’s **PHP 8.4** and **Laravel 12** compatibility.  \nIt uses **PHP_CodeSniffer** and the **PHPCompatibility** ruleset under the hood to scan your code and highlight deprecated functions, syntax issues, and Laravel helper changes.\n\n[![Latest Stable Version](https://poser.pugx.org/devrabiul/laravel-php-inspector/v/stable)](https://packagist.org/packages/devrabiul/laravel-php-inspector)\n[![Total Downloads](https://poser.pugx.org/devrabiul/laravel-php-inspector/downloads)](https://packagist.org/packages/devrabiul/laravel-php-inspector)\n[![Monthly Downloads](https://poser.pugx.org/devrabiul/laravel-php-inspector/d/monthly)](https://packagist.org/packages/devrabiul/laravel-php-inspector)\n![GitHub license](https://img.shields.io/github/license/devrabiul/laravel-php-inspector)\n[![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/devrabiul/laravel-php-inspector)\n![GitHub Repo stars](https://img.shields.io/github/stars/devrabiul/laravel-php-inspector?style=social)\n\n---\n\n## 🚀 Live Demo\n\n👉 [Try the Live Demo](https://packages.rixetbd.com/devrabiul/laravel-php-inspector)\n\n![Live Demo Thumbnail](https://packages.rixetbd.com/storage/app/public/package/devrabiul/laravel-php-inspector.webp)\n\n---\n\n## ✨ Features\n\n- ✅ Detects deprecated PHP functions, classes, and syntax\n- ✅ Highlights Laravel helpers and validation rules that need updating\n- ✅ Compatible with **PHP 8.4**\n- ✅ Works with **Laravel 10, 11, and 12**\n- ✅ Excludes `vendor/`, `node_modules/`, and public assets by default\n- ✅ Provides Artisan command for easy inspection\n\n---\n\n## 📦 Installation\n\nInstall the package via Composer:\n\n```bash\ncomposer require devrabiul/laravel-php-inspector --dev\n````\n\nThen publish the package config:\n\n```bash\nphp artisan vendor:publish --provider=\"Devrabiul\\LaravelPhpInspector\\LaravelPhpInspectorServiceProvider\"\n```\n\n---\n\n## ⚙️ Usage\n\nRun the inspector to check your Laravel app for PHP compatibility:\n\n```bash\nphp artisan phpinspector-compat:check\n```\n\n### Available Options\n\n* **`--php=`** → Target PHP version (overrides config)\n  Example:\n\n  ```bash\n  php artisan phpinspector-compat:check --php=8.4\n  ```\n\n* **`--path=`** → Specific path to scan (overrides config)\n  Example:\n\n  ```bash\n  php artisan phpinspector-compat:check --path=app/Models\n  ```\n\nBy default, the command scans your entire Laravel project (excluding `vendor/`, `storage/`, and `*.blade.php` files).\n\n---\n\n## 🎯 Get Started Today!\n\nExperience the magic of LaravelPhpInspector and enrich your Laravel application with modern PHP compatibility checks.\n\n* 🔗 **GitHub:** [devrabiul/laravel-php-inspector](https://github.com/devrabiul/laravel-php-inspector)\n* 🔗 **Live Demo:** [laravel-php-inspector.rixetbd.com](https://laravel-php-inspector.rixetbd.com)\n* 🔗 **Packagist:** [packagist.org/packages/devrabiul/laravel-php-inspector](https://packagist.org/packages/devrabiul/laravel-php-inspector)\n\n---\n\n## 🤝 Contributing\n\nWe welcome contributions!\nPlease fork the repository, make your changes, and submit a pull request.\nFor feature requests or issues, [open a GitHub issue](https://github.com/devrabiul/laravel-php-inspector/issues).\n\n---\n\n## 📄 License\n\nThis package is open-source software licensed under the [MIT license](LICENSE).\n\n---\n\n## 🌱 Treeware\n\nThis package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/devrabiul/laravel-php-inspector) to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.\n\n---\n\n## 📬 Contact\n\nFor support or inquiries, feel free to reach out:\n📧 [devrabiul@gmail.com](mailto:devrabiul@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevrabiul%2Flaravel-php-inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevrabiul%2Flaravel-php-inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevrabiul%2Flaravel-php-inspector/lists"}