2017 © Pedro Peláez
 

library linode-laravel

A Laravel service provider and helper library for accessing Linode via PHP

image

hampel/linode-laravel

A Laravel service provider and helper library for accessing Linode via PHP

  • Saturday, May 23, 2015
  • by hampel
  • Repository
  • 0 Watchers
  • 0 Stars
  • 98 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Linode API Wrapper for Laravel

A Linode API wrapper for Laravel 5.x using Guzzle, (*1)

By Simon Hampel., (*2)

This package provides a simple Laravel service provider for our base Linode API wrapper package hampel/linode - please refer to the documentation about that package for instructions on how to use this API wrapper, (*3)

Installation

The recommended way of installing Hampel Linode-Laravel is through Composer:, (*4)

Require the package via Composer in your composer.json, (*5)

:::json
{
    "require": {
        "hampel/linode-laravel": "~3.0"
    }
}

Run Composer to update the new requirement., (*6)

:::bash
$ composer update

The package is built to work with the Laravel 5 Framework., (*7)

Open your Laravel config file app/config/app.php and add the service provider in the $providers array:, (*8)

:::php
'providers' => array(

    ...

    'Linode\LinodeServiceProvider'

),

You may also optionally add an alias entry to the $aliases array in the same file for the Linode facade:, (*9)

:::php
"aliases" => array(

    ...

    'Linode'              => 'Linode\Facades\Linode',

),

Finally, to utilise the Linode API, you must generate an API key using the Linode manager and specify that key in your .env file:, (*10)

:::bash
LINODE_API_KEY=your_linode_api_key

Usage

Use Laravel's App facade to gain access to the service provider in your code:, (*11)

:::php
use Hampel\Linode\Commands\DomainCommand;

$linode = App::make('linode');
$domains = $linode->execute(new DomainCommand('list'));

... or chain them:, (*12)

:::php
$domains = App::make('linode')->execute(new DomainCommand('list'));

... or just use the Facade instead:, (*13)

:::php
$domains = Linode::execute(new DomainCommand('list'));

Refer to the usage examples and code in the Linode API Wrapper repository for more details about how to use the library., (*14)

The Versions

23/05 2015

dev-master

9999999-dev https://bitbucket.org/hampel/linode-laravel

A Laravel service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

laravel api domains guzzle dns linode

23/05 2015

3.0.1

3.0.1.0 https://bitbucket.org/hampel/linode-laravel

A Laravel service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

laravel api domains guzzle dns linode

13/02 2015

3.0.0

3.0.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

laravel api domains guzzle dns linode

30/07 2014

2.0.0

2.0.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

laravel api domains guzzle dns linode

01/06 2014

1.3.1

1.3.1.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

laravel api domains guzzle dns linode

01/06 2014

1.3.0

1.3.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

laravel api domains guzzle dns linode

14/12 2013

1.2.0

1.2.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api domains guzzle dns linode

13/12 2013

1.1.0

1.1.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api domains guzzle dns linode

29/08 2013

1.0.1

1.0.1.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api domains guzzle dns linode

28/08 2013

1.0.0

1.0.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api domains guzzle dns linode

13/08 2013

0.4.0

0.4.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php guzzle linode

30/07 2013

0.3.0

0.3.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php guzzle linode

19/07 2013

0.2.0

0.2.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php guzzle linode

15/07 2013

0.1.0

0.1.0.0 https://bitbucket.org/hampel/linode-laravel

A Laravel 4 service provider and helper library for accessing Linode via PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php guzzle linode