Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbrioski/azurecloudmap

PHP Utility library to interface with Microsoft Windows Azure Cloud API filesystem that works as in Laravel 4.2 as in pure php.
https://github.com/mbrioski/azurecloudmap

Last synced: 8 days ago
JSON representation

PHP Utility library to interface with Microsoft Windows Azure Cloud API filesystem that works as in Laravel 4.2 as in pure php.

Awesome Lists containing this project

README

        

[![Latest Stable Version](https://poser.pugx.org/ridesoft/azurecloudmap/v/stable.svg)](https://packagist.org/packages/ridesoft/azurecloudmap) [![Total Downloads](https://poser.pugx.org/ridesoft/azurecloudmap/downloads.svg)](https://packagist.org/packages/ridesoft/azurecloudmap) [![Latest Unstable Version](https://poser.pugx.org/ridesoft/azurecloudmap/v/unstable.svg)](https://packagist.org/packages/ridesoft/azurecloudmap) [![License](https://poser.pugx.org/ridesoft/azurecloudmap/license.svg)](https://packagist.org/packages/ridesoft/azurecloudmap)
# AzureCloudMap

PHP Utility library to interface with Microsoft Azure Cloud API filesystem that works as in Laravel 4.2 as in pure php.

Here [API](http://ridesoft.github.io/AzureCloudMap)

## Use it in Laravel

### Install

Add to your laravel application composer:
```
"require": {
"ridesoft/azurecloudmap": "0.4.*"
},
```
**Due to microsoft/windowsazure dependency with pear you must put your composer.json**
```
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}

],
```
Type composer install or composer update.

In your app/config/app.php add in array providers:
```
'ridesoft\AzureCloudMap\AzureCloudMapServiceProvider'
```
and in array aliases:
```
'AzureIO' => 'ridesoft\AzureCloudMap\Facades\AzureIO',
'AzureUrl' => 'ridesoft\AzureCloudMap\Facades\AzureUrl'
```

now publish your configuration with:
```
php artisan config:publish ridesoft/azurecloudmap
```

Set your Azure parameters

## Use it pure PHP
### Install

Add to your laravel application composer:
```
"require": {
"ridesoft/azurecloudmap": "0.4.*"
},
```
Type composer install or composer update.

or

just download or clone this library

## Functions and API
All function are documented in the [API](http://ridesoft.github.io/AzureCloudMap)

### Laravel

For laravel run function from Ioc Container, using classes in the [API](http://ridesoft.github.io/AzureCloudMap)

For functions in filesystem style, an example:
```
AzureIO::scandir($dir);
```
or for function url style:
```
AzureUrl::download($url);
```

### Pure Php
```
scandir('pdf'));
```

You can find similar examples in *examples* folder