Skip to content

Version 0

Google Drive Channel

Google Drive channel driver for attachments, briefings and exported workspace material.

mortelos/channel-google-drive is the Google Drive channel driver for MortelOS.

Use It For

Area Package responsibility
Drive push Push attachments, briefings or exported workspace material to Google Drive.
Operations Setup, push and health commands for the Drive channel.
Filesystem support Google Drive filesystem integration through the package dependencies.

Install

composer require mortelos/channel-google-drive

Packages resolve from the MortelOS registry. Configure registry access once before installing; see Installation.

Outlets

An outlet is a place where you extend mortelos/channel-google-drive from your app without changing the package. The table lists the outlets in its resources/mortelos/outlets.json as of version 0.5.0; read Outlets for how each kind works and what to do when none fits.

php artisan mortelos:outlets:list channel-google-drive
Kind Name What it is for
contract Mortel\Contracts\OAuthCredentialsResolver Supplies the client ID, client secret and redirect URI of the Google OAuth app (provider google; for the redirect it tries google_drive first); by default from services.<provider>.*. Default: ConfigOAuthCredentialsResolver.

Boundaries

The package owns the Drive driver, API client and push job. The host app owns Google credentials, target folder policy, retention policy and which portal events should push material to Drive.