cblink-service / kernel
Installs: 2 613
Dependents: 8
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
- ext-json: *
- guzzlehttp/guzzle: ^6.3|^7.0
- illuminate/config: ^5.0|^6.0|^7.0
- monolog/monolog: ^1.12|^2.0
- pimple/pimple: ^3.2
- ramsey/uuid: ^3.6|^4.0
- symfony/http-foundation: ^4.3|^5.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- mockery/mockery: ^0.9|^1.3
- phpunit/phpunit: ^7.0|^8.5
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();