Escola Headless LMS Tags

Installs: 24 055

Dependents: 5

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:package

0.1.22 2024-02-16 11:50 UTC

README

swagger codecov phpunit downloads downloads downloads Maintainability

Features

The lib allows tags

  • adding tags to each module
  • edit and create multiple tags

See Swagger documented endpoints.

Some tests can also be a great point of start.

To play the content you can use EscolaLMS Tags

Install

  1. composer require escolalms/tags
  2. php artisan migrate

Cors

All the endpoints need to be accesible from other domains, so CORS must be properlly set.

Except of endpoints assets must expose CORS headers as well. You achive that by setting Apache/Nginx/Caddy/Whatever settings - below is example for Nginx for wildcard global access.

location ~* \.(eot|ttf|woff|woff2|jpg|jpeg|gif|png|wav|mp3|mp4|mov|ogg|webv)$ {
    add_header Access-Control-Allow-Origin *;
}

Seeder

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

  • php artisan tag-permissions:seed to add permissions

Road map

  • caching
  • casading delete
  • sql foreign keys indexing
  • clearup task - deleting temp files, marked for delete