承接 de-luxis/yii2-simple-filemanager 相关项目开发

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

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

de-luxis/yii2-simple-filemanager

最新稳定版本:1.0.2

Composer 安装命令:

composer require de-luxis/yii2-simple-filemanager

包简介

Simple filemanager for yii2 framework

README 文档

README

Maintainability Test Coverage Latest Stable Version Latest Unstable Version License

A simple file manager. Having minimal dependencies, but great opportunities for expansion.

Features

  • Do not need a database. Consequently, there are no migrations.
  • It's simple.

TODO

  • Preview for images.
  • Extended information about files.
  • Possibility to limit the types of downloaded files through the configuration.
  • Add support RBAC.

Screenshots

Basic app template

base app en

Empty files. Basic app template i18n.

base app en

Submodule.

base app en

Submodule i18n.

base app en

Installation

Run the command.

composer require de-luxis/yii2-simple-filemanager

Or add to your composer.json

"de-luxis/yii2-simple-filemanager": "*"

Now, register the module in the configuration of your application.

On an example of the basic application template config/web.php

'modules' => [
    'filemanager' => [
        'class' => 'DeLuxis\Yii2SimpleFilemanager\SimpleFilemanagerModule'
    ],
],

The file manager will be available at index.php?r=filemanager

Submodule

The file manager can be included as a submodule. For example, for your administration panel. To do this, in the method of initializing your module, you need to add an entry that the file manager will connect.

public function init()
{
    parent::init();

    $this->modules = [
        'filemanager' => [
            'class' => 'DeLuxis\Yii2SimpleFilemanager\SimpleFilemanagerModule',
            'as access' => [
                'class' => '\yii\filters\AccessControl',
                'rules' => [
                    [
                        'allow' => true,
                        'roles' => ['@'],
                    ],
                ]
            ]
        ]
    ];
}

With the help of a record as access you can regulate access rights.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固