wasinpwg/laravel-ide-helper-extended

This is my package laravel-ide-helper-extended

v0.1.1 2024-07-12 07:18 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

Installation

You can install the package via composer:

composer require wasinpwg/laravel-ide-helper-extended

Usage

  1. 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.

  2. 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

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.