Download the PHP package liucg1995/laravel-uploader without Composer

On this page you can find all versions of the php package liucg1995/laravel-uploader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-uploader

Laravel Uploader

Laravel下的一个上传组件, 支持直传到第三方云存储。

安装

添加服务提供者

生成资源文件

设置文件储存方式

config/webuploader.php

使用

  1. 添加上传组件到页面

    单文件上传

    多文件上传

    该组件依赖jQuery,所以在引入的资源文件的时候必须先引入jQuery

  2. 保存附件内容到数据库

    单文件上传

    多文件上传

直传到云存储

该组件支持直传到第三方云存储,实际上就是模拟了表单上传的方式。从流程上来说相比于传统的先上传到服务器,再从服务器传到云存储来说,少了一步转发。从架构上来说,原来的上传都统一走网站服务器,上传量过大时,瓶颈在网站服务器,可能需要扩容网站服务器。采用表单上传后,上传都是直接从客户端发送到云存储。上传量过大时,压力都在云存储上,由云存储来保障服务质量。

目前支持的第三方云储存: 本地(local) 百度云(bos) 腾讯云(cos) 阿里云(oss) 七牛云(qiniu) 新浪云(scs) 又拍云(upyun)

其中的本地不算云存储,只是标识仍旧支持本地磁盘存储。

1.配置

百度云:

腾讯云:

注意,腾讯云存储的时候不是以资源的访问路径存的,会加上appid和存储桶的参数。主要是腾讯云上传后没有返回资源的相对路径,而且这样的存储方式也是官方推崇的。

阿里云:

七牛云:

2.设置云储存

config/webuploader.php

License

MIT


All versions of laravel-uploader with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
qiniu/php-sdk Version ^7.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package liucg1995/laravel-uploader contains the following files

Loading the files please wait ....