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

### Versions: - ide-helper Version: 2.13.0 - Laravel Version: 8.83.27 - PHP Version: 8.0 ### Description: Json mysql column is translated as mixed instead of string when generating model. php...

bug

## Summary As pointed out in https://github.com/barryvdh/laravel-ide-helper/pull/1557#issuecomment-2160730489 , there are pending changes from php-cs-fixer not being applied. Let's apply them! ## Type of change - [ ] Bug fix (non-breaking...

## Summary This adds support for the AsEnumCollection casts. [Referenced in the Laravel documentation.](https://laravel.com/docs/11.x/eloquent-mutators#casting-arrays-of-enums) This references #1553 ## Type of change - [ ] Bug fix (non-breaking change which fixes...

### Versions: - ide-helper Version: 3 - Laravel Version: 11 - PHP Version: 8 ### Description: I am getting the following error inside of the ide helper file in vscode:...

bug

### Versions: - ide-helper Version: 3.0 - Laravel Version: 10 - PHP Version: 8.2 ### Description: the command generate phpdoc as ``` @method static \Illuminate\Database\Eloquent\Builder|Tool query() @method static \Illuminate\Database\Eloquent\Builder|Tool newModelQuery()...

bug

### Versions: - ide-helper Version: v3.0.0 - Laravel Version: v11.7.0 - PHP Version: 8.3.6 ### Description: Exception throw in generate cli: ``` > post-update-cmd: @php artisan ide-helper:generate ReflectionException Function ()...

bug

### Summary Here's my example casts method 'preferences': ```php protected function casts(): array { return [ 'preferences' => AsEnumCollection::of(UserPreferences::class), ]; } } ``` Currently the IDE helper generates the property...

enhancement

I'm interested in the custom Laravel casts where I propose to thread a docs block as a primary source of type and then use a PHP type. I think that...

enhancement

### Summary Command `php artisan ide-helper:models` do not consider nullable morphs, and recognize such properties as `\Illuminate\Database\Eloquent\Model|\Eloquent`. Instead it should be of type `\Illuminate\Database\Eloquent\Model|\Eloquent|null`. ```php // migration Schema::create('examples', function (Blueprint...

enhancement

## Summary Add support in morphTo relationship for null values ## Type of change - [x] New feature (non-breaking change which adds functionality) ### Checklist - [x] Existing tests have...