定制 day4/cloudinary 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

day4/cloudinary

Composer 安装命令:

composer require day4/cloudinary

包简介

A Laravel Nova field.

README 文档

README

Use to upload, browse and select resources from cloudinary.

The value stored contains the following settings: f_auto,c_limit,w_600, which you can replace with what ever settings you need when using the image.

Multiple images are seperated with ; so can be stored in a normal text field.

Setup

.env

CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=

And then in your config/nova.php file add:

'cloudinary_api_key' => env('CLOUDINARY_API_KEY'),
'cloudinary_cloud_name' => env('CLOUDINARY_CLOUD_NAME')

Usage

In Nova Resource:

use Day4\Cloudinary\Cloudinary;
    ···
    public function fields(Request $request)
    {
        return [
            ···
            Cloudinary::make( __('Banner'), 'banner'),
            Cloudinary::make( __('Images'), 'images')
                ->allowMultiple(true) // Select multiple
        ]
    }

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固