Install
The GitHub README couldn't be loaded. Showing the cached install snippets from the SDK catalog.
composer
composer require allstak/sdk-phpQuick start
<?php
require __DIR__ . '/vendor/autoload.php';
use AllStak\AllStak;
AllStak::init([
'apiKey' => getenv('ALLSTAK_API_KEY'),
'environment' => getenv('ALLSTAK_ENVIRONMENT') ?: 'production',
'release' => getenv('ALLSTAK_RELEASE') ?: '[email protected]',
]);
AllStak::captureException(new \RuntimeException('hello from allstak-php'));