asseco-voice/laravel-content-driver

Flysystem Adapter for the Content microservice
6,349
Install
composer require asseco-voice/laravel-content-driver
Latest Version:v3.0.1
PHP:^8.1
License:MIT
Last Updated:Dec 3, 2024
Links: GitHub  ·  Packagist
Maintainer: Norgul

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

Related Packages

laravel-notification-channels/discord

Laravel notification driver for Discord.

1,484,330 240
benjamincrozat/laravel-dropbox-driver

Dropbox driver for Laravel.

297,255 53
clarification/sendgrid-laravel-driver

Sendgrid mail driver for Laravel

31,407 11
mmieluch/laravel-vfs-provider

A Laravel service provider for Flysystem's wrapper around PHP-VFS.

18,167 4