LaravelPackages.net
Acme Inc.
Toggle sidebar
mikedeveloper/october-ide-helper

October IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

60
0
v1.0.3
About mikedeveloper/october-ide-helper

mikedeveloper/october-ide-helper is a Laravel package for october ide helper, generates correct phpdocs for all facade classes, to improve auto-completion.. It currently has 0 GitHub stars and 60 downloads on Packagist (latest version v1.0.3). Install it with composer require mikedeveloper/october-ide-helper. Discover more Laravel packages by mikedeveloper or browse all Laravel packages to compare alternatives.

Last updated

October IDE Helper Generator

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.

Installation

Require this package with composer using the following command:

composer require --dev mikedevs/october-ide-helper

Add the following class to the providers array in config/app.php:

  Mikedevs\OctoberIdeHelper\IdeHelperServiceProvider::class,

Note: Avoid caching the configuration in your development environment, it may cause issues after installing this package; respectively clear the cache beforehand via php artisan cache:clear if you encounter problems when running the commands

Usage

You can re-generate the docs yourself (for future updates)

php artisan mikedevs:october-ide-helper:models --dir="path/to/plugin/models"

/**

  • @property integer $id
  • @property integer $author_id
  • @property string $title
  • @property string $text
  • @property \Illuminate\Support\Carbon $created_at
  • @property \Illuminate\Support\Carbon $updated_at
  • @property-read \User $author
  • @property-read \Illuminate\Database\Eloquent\Collection|\Comment[] $comments
  • @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post newModelQuery()
  • @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post newQuery()
  • @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post query()
  • @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Post whereTitle($value)
  • … */
Comments