top-think / think-filesystem Goto Github PK
View Code? Open in Web Editor NEWthinkphp 文件系统
thinkphp 文件系统
既然和框架分离了,就要彻底分离 面板(facade)中的 Filesystem 也应该移植过来
框架留着也没有用
稳定版的tp6.1安装后还是报错怎么样呢
think-queue for ??? 哈哈哈
现在只有本地文件系统的驱动吗?FTP、S3对象等其他文件系统如何使用?
Root composer.json requires topthink/think-filesystem, it could not be found in any version, there may be a typo in the package name.
第58行代码return new Filesystem($adapter, count($config) > 0 ? $config : null);中的null应改为[],因为League\Flysystem\Filesystem类的构造函数的第二个参数要求传递数组。
在php8.1中,如果传递null,上传文件时会报错。
public function putFile(string $path, File $file, string|Closure $rule= '', array $options = []) $rule参数类型 需调整下 不然默认null 调用$file->hashName($rule) 类型会报错
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.