escolalms/dictionaries

Escola Headless LMS dictionaries package

Maintainers

👁 qunabu

Package info

github.com/EscolaLMS/Dictionaries

Type:package

pkg:composer/escolalms/dictionaries

Statistics

Installs: 3 441

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.5 2024-04-15 07:12 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 1961960fe3a1d7c3f6b6556d9df03d184e480cea

  • Maciej Rymarz <maciej.rymarz.woop@escolasoft.com>

This package is auto-updated.

Last update: 2026-06-29 02:14:39 UTC


README

👁 swagger
👁 codecov
👁 phpunit
👁 downloads
👁 downloads
👁 downloads
👁 Maintainability
👁 phpstan

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/dictionaries
  • php artisan migrate
  • php artisan db:seed --class="EscolaLms\Dictionaries\Database\Seeders\DictionariesPermissionSeeder"

Endpoints

The endpoints are defined in 👁 swagger

Tests

Run ./vendor/bin/phpunit to run tests. Test details 👁 codecov

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"