zhanang19 / laravel-gitlab-storage
This package is abandoned and no longer maintained.
The author suggests using the royvoetman/laravel-gitlab-storage package instead.
A Gitlab Storage driver Laravel
v1.2
2020-05-05 06:03 UTC
Requires
- php: ^7.1
- illuminate/support: ^7.0
- royvoetman/flysystem-gitlab-storage: ^1.0
Requires (Dev)
This package is auto-updated.
Last update: 2022-06-02 06:04:27 UTC
README
A Gitlab Storage Driver for Laravel.
This package is a wrapper of Flysystem Gitlab storage as storage disk for Laravel.
Installation
Run command composer require zhanang19/laravel-gitlab-storage
to install this package
This package is tested only in Laravel 7
Configuration
Add new disk configuration in your filesystems.php
config.
# config/filesystems.php 'disks' => [ 'gitlab' => [ 'driver' => 'gitlab', 'project_id' => env('GITLAB_PROJECT_ID'), 'access_token' => env('GITLAB_ACCESS_TOKEN', ''), 'branch' => env('GITLAB_BRANCH', 'master'), 'base_url' => env('GITLAB_BASE_URL', 'https://gitlab.com'), 'debug' => (bool)env('GITLAB_DEBUG', env('APP_DEBUG', false)) ] ],