v0.2.4 2020-09-25 09:48 UTC

This package is auto-updated.

Last update: 2021-02-25 10:39:25 UTC


README

install

composer require cblink-service/kernel

used

$config = [
    // use private url
    'private' => true,
    'base_url' => ' private url',
    'app_id' => 'app id',
    'key' => 'key id',
    'secret' => 'secret key',
];

// Application is your package App
// Application must be extends Cblink\\Service\Kernel\ServiceContainer
$app = new Application($config);

$app->logger->info('test', []);

extends

// TestServiceProvider must be declared Pimple\ServiceProviderInterface
// app call register method or implement method 'getCustomProviders' 
$app->register(TestServcePovider::class);


// used 
$app->test->xxx();