New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

wooxo/ovh-swift-laravel

Library to use OVH PCI Object Storage API with Laravel 4.2.
1,656 5
Install
composer require wooxo/ovh-swift-laravel
Latest Version:v2.0.4
PHP:>=5.4.0
Laravel:4
Older releases:5
License:MIT
Last Updated:Oct 5, 2020
Links: GitHub  ·  Packagist
Maintainer: wooxo

OvhSwiftLaravel

Build Status Latest Stable Version Total Downloads

It's a library for Laravel 4.2.

Library to use OVH PCI Object Storage API with Laravel Based on work from : https://github.com/drauta/runabove-laravel.

Installation

Install using composer:

composer require wooxo/ovh-swift-laravel "~0.1"

Publish config and complete informations (use OVH API to get Credentials)

php artisan config:publish wooxo/ovh-swift-laravel

Add provider in config.app

'providers' = array(
    [...],
    'Wooxo\OvhSwiftLaravel\OvhSwiftLaravelServiceProvider'
);

Usage

Get file list

$client = new OvhSwiftLaravel();
$client->fileList();

Upload a file

$client = new OvhSwiftLaravel();
$client->filePut('path/to/the/file');

Get an uploaded file

$client = new OvhSwiftLaravel();
$client->fileGet('hello_world.txt');

Delete an uploaded file

$client = new OvhSwiftLaravel();
$client->fileDelete('hello_world.txt');

Check if a file exists

$client = new OvhSwiftLaravel();
$client->fileExists('hello_world.txt');

Related Packages

sausin/laravel-ovh

OVH Object Storage driver for laravel

172,086 44
akibatech/laravel-ovh-sms

The OVH Sms Api integration for Laravel 5.

803 7
hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Servi...

164,758 15
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982

Version History

Version Released PHP Laravel License
v2.0.4 >=5.4.0 4.2.* MIT
v2.0.3 >=5.4.0 4.2.* MIT
v2.0.2 >=5.4.0 4.2.* MIT
2.0.1 >=5.4.0 4.2.* MIT
v2.0.0 >=5.4.0 4.2.* MIT