Package Skeleton
: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.