daniel-de-wit/laravel-ide-helper-hook-paperclip
Add Paperclip support to Laravel IDE Helper
28,032
1
| Install | |
|---|---|
composer require daniel-de-wit/laravel-ide-helper-hook-paperclip |
|
| Latest Version: | 3.1.0 |
| PHP: | ^8.2 |
| Laravel: | 11 · 12 · 13 |
| Older releases: | 6 – 10 |
| License: | MIT |
| Last Updated: | Jun 16, 2026 |
| Links: | GitHub · Packagist |
Maintainer: daniel-de-wit
Laravel IDE Helper Hook Paperclip
A Laravel Package for adding Laravel Paperclip support to Laravel IDE Helper Laravel IDE Helper.
Installation
You can install the package via composer:
composer require --dev daniel-de-wit/laravel-ide-helper-hook-paperclip
The Paperclip Hook is loaded using Package Discovery, when disabled read Manual Installation.
Usage
Run standard model generation commands as normal:
php artisan ide-helper:models "App\Models\Post"
Docblocks will be added to the model
* @property \Czim\Paperclip\Contracts\AttachmentInterface|\SplFileInfo|\Czim\FileHandling\Storage\File\SplFileInfoStorableFile|\Czim\FileHandling\Contracts\Support\RawContentInterface|string $image
Manual Installation
When disabled, register the LaravelIdeHelperHookPaperclipServiceProvider manually by adding it to your config/app.php
/*
* Package Service Providers...
*/
DanielDeWit\LaravelIdeHelperHookPaperclip\Providers\LaravelIdeHelperHookPaperclipServiceProvider::class,
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
daniel-de-wit/laravel-ide-helper-hook-translatable
Add Laravel Translatable support to Laravel IDE Helper
6,945
3
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 3.1.0 | ^8.2 | ^11.0 | | MIT | |
| 3.0.0 | ^8.2 | ^11.0 | | MIT | |
| 2.3.0 | ^8.1 | ^9.0 | | MIT | |
| 2.2.0 | ^8.1 | ^9.0 | | MIT | |
| 2.1.0 | ^8.1 | ^9.0 | | MIT | |
| v2.0.0 | ^8.1 | ^9.0 | MIT | |
| 1.2.0 | ^7.3 | | ^6.9 | | MIT | |
| 1.1.0 | ^7.3 | | ^6.9 | | MIT | |
| 1.0.0 | ^7.3| | ^6.9| | MIT | |
| 0.0.1 | ^7.3| | ^6.9| | MIT |