Download the PHP package wangqs/laravel-filesystem-obs without Composer
On this page you can find all versions of the php package wangqs/laravel-filesystem-obs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wangqs/laravel-filesystem-obs
More information about wangqs/laravel-filesystem-obs
Files in wangqs/laravel-filesystem-obs
Package laravel-filesystem-obs
Short Description 真正可用的Laravel 5+ 华为OBS存储 For Filesystem
License MIT
Informations about the package laravel-filesystem-obs
Laravel-HuaWeiOBS
Huawei Cloud OBS storage for Laravel based on wangqs/laravel-filesystem-obs.
Installation and Configuration
Install the current version of the goodgay/huaweiobs
package via composer:
Laravel
The package's service provider will automatically register its service provider.
Publish the configuration file:
Alternative configuration method via .env file
After you publish the configuration file as suggested above, you may configure OBS
by adding the following to your application's .env
file (with appropriate values):
Lumen
If you work with Lumen, please register the service provider and configuration in bootstrap/app.php
:
Manually copy the configuration file to your application.
Usage
The HWobs
facade is just an entry point into the php-obs sdk,
so previously you might have used:
You can now replace those last two lines with simply:
Lumen users who wish to use Facades can do so by editing the
bootstrap/app.php
file to include the following:
Advanced Usage
Because the package is a wrapper around the official php-obs sdk, you can do pretty much anything with this package.
To upload:
To download:
To manage objects:
All versions of laravel-filesystem-obs with dependencies
ext-json Version *
wangqs/obsv3 Version ^1.0.0
league/flysystem Version ^1.0.20