Comments (5)
yes, like this
$client = Storage::disk("oss")->getAdapter()->getClient();
from aliyun-oss-laravel.
dependency aliyun-oss-flysystem version is 3.0.x , getClient method dot not exist. you need to upgrade version.
from aliyun-oss-laravel.
哈哈,才发现你是国人,我直接指定master分支用了,有时间你可以打个tag
from aliyun-oss-laravel.
3.0版本使用OssClient
, 看这个文档 README.md
version 3.0 uses the OssClient
, see this documentation README.md
from aliyun-oss-laravel.
dependency aliyun-oss-flysystem version is 3.0.x , getClient method dot not exist. you need to upgrade version.
if version is 3.0, you can get it like this.
$client = Storage::disk("aliyun")->getAdapter()->getClient();
from aliyun-oss-laravel.
Related Issues (20)
- 能支持下Laravel 9吗? HOT 1
- 增加 OSS_DOMAIN后上传有问题 HOT 6
- PHP Fatal error: Access level to AlphaSnow\AliyunOss\Adapter::getOptionsFromConfig() must be public HOT 1
- Type of AlphaSnow\LaravelFilesystem\Aliyun\AliyunAdapter::$config must be array (as in class AlphaSnow\Flysystem\Aliyun\AliyunAdapter) HOT 6
- 不兼容laravel9版本 HOT 1
- root参数无效 HOT 1
- 文档错误 HOT 1
- 上传大文件会报缓存文件不存在或不可读
- When there is a prefix, the path is spliced 2 times HOT 2
- 是否可以移除 laravel 版本的依赖 HOT 2
- The upload does not work HOT 1
- Laravel 10好像有问题 HOT 1
- unable to check existence for laravel9 HOT 2
- laravel8上传失败,返回false HOT 1
- CDN 在哪里配置 HOT 3
- 怎么指定使用内网地址? HOT 1
- Driver [oss] is not supported HOT 2
- OSS_DOMAIN HOT 2
- Driver [aliyun] is not supported. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aliyun-oss-laravel.