detain / cloudlinux-licensing
Cloudlinux Licensing Class
v2.0.0
2019-08-27 06:59 UTC
Requires
- php: >=5.3.0
- ext-curl: *
- pear/xml_rpc2: *
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- mockery/mockery: *
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2024-12-03 10:18:25 UTC
README
Class to interface with the Cloudlinux Licensing API to manage Cloudlinux and KernelCare License Types. More info at https://www.cloudlinux.com/
Installation
Install with composer like
composer require detain/cloudlinux-licensing
Basic Usage
Initialization
Initialize passing the API credentials like
use Detain\Cloudlinux\Cloudlinux; $cloudlinux = new Cloudlinux('API Username', 'API Password');
List Licensed IPs
foreach ($cl->reconcile() as $license) echo $license['IP'].' is type '.$license['TYPE'].'. server registered in CLN with license: '.var_export($license['REGISTERED'], true) . "\n";
License
Cloudlinux Licensing class is licensed under the LGPL-v2.1 license.