laravel-ide-helper icon indicating copy to clipboard operation
laravel-ide-helper copied to clipboard

IDE Helper for Laravel

Results 184 laravel-ide-helper issues
Sort by recently updated
recently updated
newest added

As #1254 and #1159 refer PHPStorm has no way to handle autocompletion for static generated macros in `_ide_helper.php` file What I already see is that there is a package that...

enhancement

## Summary I've used dependency injection for the configuration class in order to avoid Laravel's magic. This makes the code more discoverable and will help refactoring down the line. ##...

### Versions: - barryvdh/laravel-ide-helper": "^2.10", - Laravel Framework 8.57.0 - PHP Version: 7.3 ### Description: Today I started a new project Connected with Microsoft SQL usually nothing has ever happened...

bug

### Summary Consider the following code: ```php use Illuminate\Foundation\Http\FormRequest; use Illuminate\Routing\Controller; class CreateProductRequest extends FormRequest { public function rules(): array { return [ 'name' => 'string|min:3|max:30', 'gtin' => 'string|min:8|max:14|unique:products,gtin', 'tags'...

enhancement

### Summary The return type of `$this->user()` inside a form request is `mixed` instead of `User`. When calling the same method from outside the form request the return type is...

enhancement

### Versions: - ide-helper Version: 2.10.0 - PHP Version: 8.0.8 ### Description: I have a column in my migration which uses `unsignedTinyInteger` And in database it's type is `TINYINT(3)` with...

bug

Is there a way to add autocompletion to factories `create` and `make` methods to return model instance? if not, what the best way to add this feature ? 🤔 for...

enhancement

## Summary This PR add pivot property when using a pivot model on BelongsToMany relation ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue)...

## Summary This adds a config option called `` that removes the `Do you want to overwrite the existing model files?` prompt and always answers "yes" when running the command....

### Versions: - ide-helper Version: 2.10.0 - Laravel Version: 8.50.0 - PHP Version: 8.0.8 ### Summary: The IDE doesn't recognize model that got fetched from a relation query. ```php class...

bug