The EuroCMS Libraries Module

This is the managing module for the EuroCMS libraries component.

What are libraries? Use composer packages? Query the https://packagist.org/ packages? Build a Libraries module that uses the packagist API to query for packages?

db structure

library_iddomain_iduser_idgroup_idnameversionchannelauthordescriptionlicenseaccept_licenseuser_lockstatus
111trid1.0.1stableMarco Pontellotrid - file analyzerGPL2trueenabled
211exiftoolPhil Harveyexiftool - metadata reader/writerGPL2trueenabled
  • exiftool: you can use the system installed version, or download and install the exiftool version yourself.

This is just in case hosting providers don't want to install extra packages in your system.

Nonetheless, one could write an update script, to update packages from the main trid website. Or, use the repo module, and have the repo module scrap the changelog version, gpg and etc...

TODO

Write a proper manager of libraries controller:

  • Update

  • Delete

  • Modify