daniel-de-wit/laravel-ide-helper-hook-paperclip 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

daniel-de-wit/laravel-ide-helper-hook-paperclip

最新稳定版本:3.0.0

Composer 安装命令:

composer require --dev daniel-de-wit/laravel-ide-helper-hook-paperclip

包简介

Add Paperclip support to Laravel IDE Helper

README 文档

README

Software License Tests Coverage Status Latest Version on Packagist Total Downloads

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.

统计信息

  • 总下载量: 27.66k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-02