定制 escolalms/categories 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

escolalms/categories

最新稳定版本:0.1.43

Composer 安装命令:

composer require escolalms/categories

包简介

Escola Headless LMS Categories

README 文档

README

swagger codecov phpunit downloads downloads downloads Maintainability

What does it do

This package is used for creating Categories for EscolaLms.

Installing

  • composer require escolalms/categories
  • php artisan migrate
  • php artisan db:seed --class="EscolaLms\Consultations\Database\Seeders\ConsultationsPermissionSeeder"

Endpoints

All the endpoints are defined in swagger

Tests

Run ./vendor/bin/phpunit --filter 'EscolaLms\\Categories\\Tests' to run tests. See tests folder as it's quite good staring point as documentation appendix.

Admin panel

Left menu

Menu

List of consultations

List of categories

Creating/editing consultation

Creating/editing category

Permissions

Permissions are defined in seeder

Features

The lib allows categories

  • adding a category
  • generate slug for category
  • edit category
  • delete category
  • show list categories
  • if you want to remove category which has sub categories, earlier delete sub categories

To play the content you can use EscolaLMS Categories

Seeder

You can seed library and content with build-in seeders that are accessible with

  • php artisan category-permissions:seed to add permissions
  • php artisan db:seed --class="\EscolaLms\Categories\Database\Seeders\CategoriesSeeder"
  1. Parent Category is related belong to with other category
  2. Children Category is related has many with other categories
  3. Courses Category belongs to many with models Course
  4. Users Category is related belongs to many with User
Category 1 -> 1 Category (Parent)
Category 1 -> n Category (Children)
Category 1 -> n Course
Category 1 -> n Users

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-10