Tags
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
composer require escolalms/tags
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