承接 meisam-mulla/flysystem-stretchfs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

meisam-mulla/flysystem-stretchfs

最新稳定版本:v1.4.1

Composer 安装命令:

composer require meisam-mulla/flysystem-stretchfs

包简介

A Flysystem adapter for StretchFS.

README 文档

README

This package provides a League\Flysystem adapter for StretchFS. It allows you to use the Flysystem API to interact with your StretchFS storage system, leveraging the features and ease of use of Flysystem for file operations within StretchFS.

Installation

You can install the package via composer:

composer require meisam-mulla/flysystem-stretchfs

Configuration

After installation, you can configure the adapter in your Laravel application or in any PHP project that uses Flysystem. Here's how you can do it:

Laravel

In your config/filesystems.php, add a new disk:

'disks' => [
    // Other disks...
    
    'stretchfs' => [
        'driver' => 'stretchfs',
        'domain' => 'your_sfsserver.net',
        'token' => 'your_token',
    ],
],

Plain PHP

If you're using Flysystem in a non-Laravel PHP project, you can directly instantiate the StretchFsAdapter:

use League\Flysystem\Filesystem;
use MeisamMulla\SfsClient\StretchFS;
use MeisamMulla\FlysystemStretchfs\StretchFsAdapter;

$client = new StretchFS([
    'domain' => 'sfsserver.net',
    'token' => 'your_token',
]);

$adapter = new StretchFsAdapter($client);
$filesystem = new Filesystem($adapter);

统计信息

  • 总下载量: 97
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-04-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固