2017 © Pedro Peláez
 

yii2-extension yuncms-attachment

The attachment module for yuncms.

image

yuncms/yuncms-attachment

The attachment module for yuncms.

  • Wednesday, March 28, 2018
  • by xutl
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,774 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

yii2-attachment

适用于YII2的附件管理模块,主要是附件的统一保存,获取,暂时未做入库保存部分。, (*1)

Latest Stable Version Total Downloads Build Status Dependency Status License, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

$ composer require yuncms/yii2-attachment

or add, (*5)

"yuncms/yii2-attachment": "~2.0.0"

to the require section of your composer.json file., (*6)

配置迁移

    'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            //自动应答
            'interactive' => 0,
            //命名空间
            'migrationNamespaces' => [
                'yuncms\attachment\migrations',
                //etc..
            ],
        ],
    ],
./yii migrate/up

模块配置

#定义语言包配置
'components' => [
    'i18n' => [
        'translations' => [
            'attachment' => [
                'class' => 'yii\i18n\PhpMessageSource',
                'basePath' => '@yuncms/attachment/messages',
            ],
        ]
    ]
],
'modules' => [
    'attachment' => [
        'class' => 'yuncms\attachment\Module',
        //etc..
    ],
]

License

This is released under the MIT License. See the bundled LICENSE.md for details., (*7)

The Versions

28/03 2018

dev-master

9999999-dev

The attachment module for yuncms.

  Sources   Download

MIT

The Requires

 

yii2 yii2-attachment attachment management

28/03 2018

2.0.1.1

2.0.1.1

The attachment module for yuncms.

  Sources   Download

MIT

The Requires

 

yii2 yii2-attachment attachment management

12/12 2017

2.0.1

2.0.1.0

The attachment module for yuncms.

  Sources   Download

MIT

The Requires

 

yii2 yii2-attachment attachment management

13/11 2017

2.0.0

2.0.0.0

The attachment module for yuncms.

  Sources   Download

MIT

The Requires

 

yii2 yii2-attachment attachment management