laravel-ide-helper
laravel-ide-helper copied to clipboard
IDE Helper for Laravel
## Summary This PR allows automatic helper file generation after composer install or update. This is accomplished by running the set commands after `package:discover` successfully completed. This command is executed...
## Summary support [topclaudy/compoships](https://github.com/topclaudy/compoships) by adding check in method `ModelsCommand::isRelationNullable()`. ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking...
## Summary When barryvdh/laravel-ide-helper is a dev dependency, it is not available with `--no-dev` installs ("release builds"). Which will give errors if you add `ide-helper:` in `post-update-cmd` or `post-install-cmd` in...
fixes #1141 and probably fixes #1280 too which looks like a side effect of that original issue. Currently the package cannot handle schema discovery in more than a single database...
### Versions: - ide-helper Version: 2.9.0 - Laravel Version: 8.x - PHP Version: 8.0 ### Description: We have a multi-tenant application where models are split in 2 DB connections :...
- ide-helper Version: 2.9.1 - Laravel Version: 8.33.1 - PHP Version: 8.0 Hi, today after updated Laravel from 8.31.0 to 8.33.1 and Ide-helper from 2.9.0 to 2.9.1 (by composer update)...
### Versions: - ide-helper Version: 2.10.0 - Laravel Version: 8.49.2 - PHP Version: 8.0.8 (Laravel Sail: 1.8.4) ### Description: In my project the models are divided into multiple namespaces: -...
Adding the following macro: ```php Builder::macro('whereLike', fn ( Closure|string|array|Expression $column, mixed $value, string $boolean = 'and' ) => $this->where($column, 'LIKE', "%$value%", $boolean)); ``` Produces the below error due to the...
### Versions: - ide-helper Version: 2.10.0 - Laravel Version: 8.x - PHP Version: 7.4 ### Description: We have models with property mutators. The generated code looks fine when the mutators...
### Versions: - ide-helper Version: 2.10.0 - Laravel Version: 8.53.1 - PHP Version: 8.0.9 ### Description: In my `AppServiceProvider.php` I have added a macro for the `Stringable` class in Laravel:...