The purpose of this repository is to provide a driver for the Content service.
Require the package with composer require asseco-voice/laravel-content-driver.
Service provider will be registered automatically.
In order to use this repository the following variables must be se in your .env file:
FILESYSTEM_DRIVER- sets the driver that will be used. Must be set tocontentCONTENT_ROOT- directory that will be treated as the root directory for your app. By default, the snake cased name of your app will be usedCONTENT_API_URL- base URL of the Content serviceCONTENT_REPOSITORY- sets the default repository
Example:
FILESYSTEM_DRIVER=content
CONTENT_ROOT=contacts
CONTENT_API_URL=https://example/v1/content
CONTENT_REPOSITORY=dms
