2017 © Pedro Peláez
 

library lxc

image

plinker/lxc

  • Friday, May 11, 2018
  • by lcherone
  • Repository
  • 1 Watchers
  • 0 Stars
  • 59 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

PlinkerRPC - LXC

An older/deprecated component which controls LXC1.0 containers., (*1)

!!! warning "Development halted" This component is no longer being actively developed, though bugs will be fixed if reported., (*2)

This will be replaced by a LXD component which is coming soon!, (*3)

Install

Require this package with composer using the following command:, (*4)

bash $ composer require plinker/lxc, (*5)

Client

Creating a client instance is done as follows:, (*6)

<?php
require 'vendor/autoload.php';

/**
 * Initialize plinker client.
 *
 * @param string $server - URL to server listener.
 * @param string $config - server secret, and/or a additional component data
 */
$client = new \Plinker\Core\Client(
    'http://example.com/server.php',
    [
        'secret' => 'a secret password'
    ]
);

// or using global function
$client = plinker_client('http://example.com/server.php', 'a secret password');

Methods

Once setup, you call the class though its namespace to its method., (*7)

!!! warning "Undocumented" This component is not documented, methods and usage will be added shortly., (*8)

Testing

There are no tests setup for this component., (*9)

Contributing

Please see CONTRIBUTING for details., (*10)

Security

If you discover any security related issues, please contact me via https://cherone.co.uk instead of using the issue tracker., (*11)

Credits

Development Encouragement

If you use this project and make money from it or want to show your appreciation, please feel free to make a donation https://www.paypal.me/lcherone, thanks., (*12)

Sponsors

Get your company or name listed throughout the documentation and on each github repository, contact me at https://cherone.co.uk for further details., (*13)

License

The MIT License (MIT). Please see License File for more information., (*14)

See the organisations page for additional components., (*15)

The Versions