laravel-idea-type-hinting maintained by maksi
laravel-idea-type-hinting
It is a package for better type hinting
Usages:
- You can extend the
Maksi\TypeHinting\Database\Eloquent\Modelmodel. - You can use traits:
Maksi\TypeHinting\Eloquent\Concerns\ModelAnnotations.phpandMaksi\TypeHinting\Eloquent\Concerns\ModelStaticAnnotations.phpdirectly in your models.
Methods from Eloquent builder will be type hinted on your models after model extending or traits usages
whereKeywhereKeyNotwherefindfindManyfindOrFailfindOrNewfirstOrNewfirstOrCreateupdateOrCreatefirstOrFailfirstOrcreateforceCreateupdatepaginate
https://packagist.org/packages/maksi/laravel-idea-type-hinting
Issue
In case if you have some idea for improvements, then please create an issue/PR for this project