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
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2018-10-04