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-09-06 10:20:56 UTC


README

内容驱动

此存储库的目的是提供Content服务的驱动程序。

安装

使用composer require asseco-voice/laravel-content-driver安装包。服务提供者将自动注册。

设置

为了使用此存储库,必须在您的.env文件中设置以下变量

  1. FILESYSTEM_DRIVER - 设置将使用的驱动程序。必须设置为content
  2. CONTENT_ROOT - 将作为应用根目录处理的目录。默认情况下,将使用应用的蛇形名称
  3. CONTENT_API_URL - Content服务的基准URL
  4. CONTENT_REPOSITORY - 设置默认存储库

示例

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