{"repo":"barryvdh/laravel-ide-helper","free":true,"listed":false,"github":"https://github.com/barryvdh/laravel-ide-helper","clone":"git clone https://github.com/barryvdh/laravel-ide-helper.git","description":"IDE Helper for Laravel","language":"PHP","stars":14952,"topics":["laravel","autocompletion","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"IDE Helper Generator for Laravel Complete PHPDocs, directly from the source This package generates helper files that enable your IDE to provide accurate autocompletion. Generation is done based on the files in your project, so they are always up-to-date. The 3.x branch supports Laravel 10 and later. For older version, use the 2.x releases. - Installation - Usage - Automatic PHPDoc generation for Laravel Facades - Automatic PHPDocs for models - Model Directories - Ignore Models - Model Hooks - Automatic PHPDocs generation for Laravel Fluent methods - Auto-completion for factory builders - PhpStorm Meta for Container instances - License Installation Require this package with composer using the following command: Usage TL;DR Run this to generate autocompletion for Facades. This creates ide helper.php Run this to add phpdocs for your models. Add -RW to Reset existing phpdocs and Write to the models directly. If you don't want the full ide helper.php file, you can run add --write-eloquent-helper to the model command to generate small version, which is required for the @mixin \\Eloquent to be able to add the QueryBuilder methods. If you don't want to add all the phpdocs to your Models directly, you can use --nowrite to create a separate file. The --write-mixin option can be used to only add a @mixin to your models, but add the generated phpdocs in a separate file. This avoids having the results marked as duplicate. Check out this Laracasts video for a quick introduction/explanation!","default_branch":null,"files":null,"tree":[],"storefront":"/r/barryvdh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/barryvdh/laravel-ide-helper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}