I have some basic trouble with calling Sentry in PHP (non-framework). Docs (https://docs.sentry.io/platforms/php/#configure).
I instaled Sentry with composer. But if I try to call it after autoloader I get an error: Fatal error: Uncaught Error: Call to undefined function Sentryinit().
My code looks like:
`require_once “vendor/autoload.php”;
Sentryinit([
‘dns’ => ‘example_public_key’
]);`
I also tried call Sentryinit but with same result.
I hope there is my misunderstanding how to call library instaled by composer.
Could someone help me with it? Thank you.