creativados / cockpit
PHP client api connect to cockpit server
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/creativados/cockpit
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ~5.0
This package is not auto-updated.
Last update: 2025-10-21 22:19:12 UTC
README
:package_description
Installation
Add the package-skeleton package to your composer.json file.
{
"require": {
"creativados/cockpit": "@dev"
}
}
Or via the command line in the root of your Laravel installation.
$ composer require "creativados/cockpit:*"
Usage
require __DIR__ . '/vendor/autoload.php'; $server = new Creativados\Cockpit_client\api( "http://domain.tld", "TOKEN_ID", "LANGUAGE" ); $server->getCockpit( MODULE_NAME, FUNCTION_NAME, ARRAY_PARAMETERS ); $server->getRegions( REGION_NAME ); $server->getGallery( GALLERY_NAME,BOOL_ADD_DOMAIN ) ; $server->getGallery( GALLERY_NAME,BOOL_ADD_DOMAIN ) ; $server->getCollection( COLLECTION_NAME, ARRAY_FILTERS, SORT_OPTIONS, NUMBER_LIMIT_ELEMENTS, NUMBER_SKIP_ELEMENTS ) ; $server->getCollectionMultilang( COLLECTION_NAME, ARRAY_FILTERS, SORT_OPTIONS, NUMBER_LIMIT_ELEMENTS, NUMBER_SKIP_ELEMENTS ) ;
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.