承接 escolalms/files 相关项目开发

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

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

escolalms/files

最新稳定版本:0.1.29

Composer 安装命令:

composer require escolalms/files

包简介

Escola file repository API.

README 文档

README

Files browser package

swagger codecov phpunit downloads downloads downloads Maintainability

What does it do

This package is used to upload, delete and reuse files.

Installing

  • composer require escolalms/files
  • php artisan migrate
  • php artisan db:seed --class="EscolaLms\Files\Database\Seeders\PermissionTableSeeder"

Database

This package adds access_to_directories column to the users table.

Endpoints

All the endpoints are defined in swagger

Tests

Run ./vendor/bin/phpunit to run tests. phpunit codecov

Events

This package does not dispatch any events.

Listeners

This package listens for events and adds or removes user access to directories.

  • EscolaLms\Auth\Events\AccountConfirmed - add user access to directory avatars/{user_id}

  • EscolaLms\Courses\Events\CourseTutorAssigned - add user access to directory course/{course_id}

  • EscolaLms\Courses\Events\CourseTutorUnassigned - remove user access to directory course/{course_id}

  • EscolaLms\Webinar\Events\WebinarTrainerAssigned - add user access to directory webinar/{webinar_id}

  • EscolaLms\Webinar\Events\WebinarTrainerUnassigned - remove user access to directory webinar/{webinar_id}

  • EscolaLms\StationaryEvents\Events\StationaryEventAuthorAssigned - add user access to directory stationary-events/{stationary_evet_id}

  • EscolaLms\StationaryEvents\Events\StationaryEventAuthorUnassigned - remove user access to directory stationary-events/{stationary_evet_id}

How to use this on frontend

Admin panel

Left menu Menu

Files browser List

File finder Finder

Upload the file to the selected directory Upload

Permissions

Permissions are defined in seeder

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-28