igorkgg / laravel-filesystem-akamai-netstorage
A Akamai NetStorage filesystem for Laravel.
Installs: 2 414
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- igorkgg/flysystem-akamai-netstorage: ^3.0.1
- illuminate/filesystem: ^11.0
- illuminate/support: ^11.0
This package is auto-updated.
Last update: 2024-05-15 23:01:52 UTC
README
Akamai NetStorage for Laravel based on igorkgg/flysystem-akamai-netstorage.
Requirement
- Laravel >= 11.0
Installation
$ composer require "igorkgg/laravel-filesystem-akamai-netstorage"
Configuration
<?php return [ 'disks' => [ //... 'akamai' => [ 'driver' => 'akamai', 'key' => env('AKAMAI_KEY'), 'keyName' => env('AKAMAI_KEY_NAME'), 'hostname' => env('AKAMAI_HOSTNAME'), 'cpCode' => env('AKAMAI_CPCODE'), 'basePath' => env('AKAMAI_BASE_PATH', ''), 'baseUrl' => env('AKAMAI_BASE_URL', ''), 'timeout' => env('AKAMAI_TIMEOUT', 300), ], //... ] ];
Usage
Storage::disk('akamai')->put('test.txt', 'Test file');
License
MIT