alpdesk/alpdesk-core

Alpdesk-Core for Contao

Installs: 2 423

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:contao-bundle

pkg:composer/alpdesk/alpdesk-core


README

Json based REST-API-Endpoint with JWT-Token Auth for Contao

  • Extendable by custom Plugins using Events
  • Basic CRUD-Operations for all database tables (Plugin "Contao CRUD") (!!! since v3.0.0)
  • Full working File management-API (Finder)

For further information see Postman-Documentation stored in project.

Additional Info

In order to be able to use the API, a "Mandant" must always be created. The registered plugins can then be selected for this "Mandant".

After that, a member must be created through which the API is authenticated. The "Mandant" is then linked to member and the necessary settings and access rights are set.

Register and tag custom storage

Storage must implement Alpdesk\AlpdeskCore\Library\Storage\BaseStorageInterface

(see also Alpdesk\AlpdeskCore\Library\Storage\Local\LocalStorage as example)

alpdeskcore.storage_local:
  class: Alpdesk\AlpdeskCore\Library\Storage\Local\LocalStorage
  arguments:
  tags:
    - { name: 'alpdeskcore.storage', alias: 'local' }

After register the storage, it can be used by manipulating the storageAdapter in the alpdesk.filemanagement.request.event