asseco-voice/laravel-content-driver

Flysystem Adapter for the Content microservice

v3.0.1 2023-10-06 08:16 UTC

This package is auto-updated.

Last update: 2024-04-06 09:34:48 UTC


README

evil_logo.png

Content driver

The purpose of this repository is to provide a driver for the Content service.

Installation

Require the package with composer require asseco-voice/laravel-content-driver. Service provider will be registered automatically.

Setup

In order to use this repository the following variables must be se in your .env file:

  1. FILESYSTEM_DRIVER - sets the driver that will be used. Must be set to content
  2. CONTENT_ROOT - directory that will be treated as the root directory for your app. By default, the snake cased name of your app will be used
  3. CONTENT_API_URL - base URL of the Content service
  4. CONTENT_REPOSITORY - sets the default repository

Example:

FILESYSTEM_DRIVER=content
CONTENT_ROOT=contacts
CONTENT_API_URL=https://example/v1/content
CONTENT_REPOSITORY=dms