v0.2.5 2023-02-22 02:09 UTC

This package is auto-updated.

Last update: 2024-12-22 06:00:40 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();