The provided code represents a Laravel package that aims to enhance the IDE (Integrated Development Environment) autocompletion and code intelligence for certain Laravel components, specifically models and form requests. The package consists of two custom artisan commands: ide-helper:fix and ide-helper:requests.
You can install the package via composer:
composer require wasinpwg/laravel-ide-helper-extended
-
ide-helper:fix Command: Purpose: Generates additional class definitions extending Laravel's authentication-related classes for models that extend Illuminate\Foundation\Auth\User, improving IDE autocompletion for authentication methods.
-
ide-helper:requests Command: Purpose: Generates additional class definitions extending Laravel's form request classes and adds PHPDoc-style comments with data type information for form fields, enhancing IDE autocompletion for validation rules.
php artisan ide-helper:fix
php artisan ide-helper:requests
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.