escolalms/dictionaries
最新稳定版本:0.0.5
Composer 安装命令:
composer require escolalms/dictionaries
包简介
Escola Headless LMS dictionaries package
README 文档
README
What does it do
This package is used for managing dictionaries and their expressions. You can set the number of free views of words from a given dictionary for users who are not assigned. This package is compatible with the purchasing process in Wellms. The dictionary may be a purchasable product.
Entity Relationship Diagrams
The diagram below shows the relationships between entities.
erDiagram
Dictionary ||--o{ DictionaryWord : "has"
Dictionary ||--o{ DictionaryUser : "has"
DictionaryWord ||--o{ DictionaryWordCategory : "has"
Dictionary {
string name
string slug
int free_views_count
}
DictionaryWord {
string word
string description
json data
}
DictionaryUser {
datetime end_date
}
Loading
Installing
composer require escolalms/dictionariesphp artisan migratephp artisan db:seed --class="EscolaLms\Dictionaries\Database\Seeders\DictionariesPermissionSeeder"
Endpoints
Tests
Run ./vendor/bin/phpunit to run tests.
Test details
Events
This package does not dispatch any events.
Listeners
This package does not listen for any events.
Permissions
This package contains permissions which you can find in DictionariesPermissionEnum.
The default assignment of permissions to roles is carried out after executing the command php artisan db:seed --class="EscolaLms\Dictionaries\Database\Seeders\DictionariesPermissionSeeder"
统计信息
- 总下载量: 3.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-01