PHP Client for N-able's N-Central.
We solely use Laravel for our applications, so there is some Laravel specific files that you can use if you are using this client in a Laravel application. We have tried to make sure that you can use the client outside of Laravel, and have some documentation about it below.
| Branch | Status | Coverage | Code Quality |
|---|---|---|---|
| Develop | ![]() |
![]() |
|
| Master | ![]() |
![]() |
- laminas/laminas-code - ONLY if you want/need to use the wizard from phpro/soap-client to regenerate the Client's class files.
- nesbot/carbon
- TODO: Add others here
Install Ncentral Client:
$ composer require spinen/ncentral-php-client[Optional] Add the alias to config/app.php
'aliases' => [
# other aliases omitted
'Ncentral' => Spinen\Ncentral\Laravel\Facades\Ncentral::class,
],Add the following to config/services.php...
'ncentral' => [
// TODO: Document vars here
],Add the appropriate values to your .env...
'NCENTRAL_WSDL_PATH' - Path to the Ncentral WSDL file or URLSet up a new NcentralClient using its factory...
$client = Spinen\Ncentral\NcentralClientFactory::factory(env('NCENTRAL_WSDL_PATH'));
To use the client outside of Laravel, you just need to new-up the objects...
// TODO: Document usages here



