承接 mikk150/yii2-asset-manager-flysystem 相关项目开发

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

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

mikk150/yii2-asset-manager-flysystem

最新稳定版本:1.1.0

Composer 安装命令:

composer require mikk150/yii2-asset-manager-flysystem

包简介

yii2 asset manager that uploads assets to flysystem

README 文档

README

Installation

Either run

php composer.phar require --prefer-dist mikk150/yii2-asset-manager-flysystem "^1.1"

or add

"mikk150/yii2-asset-manager-flysystem": "^1.1"

to the require section of your composer.json file

Usage

configure Yii2 config

'components' => [
    'assetManager' => [
        'class' => mikk150\assetmanager\AssetManager::class,
        'basePath' => './',
        'baseUrl' => '//cdn.host.com',
        'flySystem' => [
            'class' => creocoder\flysystem\FtpFilesystem::class, // or any other flysystem compatible filesystem that can be published on web easily
            'host' => 'cdn.host.com',
            'username' => 'cdn.username',
            'password' => 'cdn.password',
            'root' => 'www/'
        ]
    ],
]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2018-10-04