lewisliang82/cngroupupload

cngroupupload

dev-master 2017-08-16 05:11 UTC

This package is not auto-updated.

Last update: 2020-02-14 17:50:23 UTC


README

via composer

composer require "lewisliang82/cngroupupload:dev-master"

config/app.php addServiceProvider:

Lewisliang82\CNUpload\Upload\UploadServiceProvider::class,

publish resources

php artisan vendor:publish  --provider='Lewisliang82\CNUpload\Upload\UploadServiceProvider' --force

ucloud config config/cnupload.php

'ucloud' => [
    'bucketUrl'     => '',
    'buket'         => '',
    'proxy_suffix'  => '',
    'public_key'    => '',
    'private_key'   => ''
]

include js/css

@include('cnupload::head');

demo file demo/test.blade.php