How can I setup the new sentry unified sdk (2.x) with php monolog?
Would be nice to have some docs or if someone knows a package where we can have alternatives for Monolog\Handler\RavenHandler and Raven_Breadcrumbs_MonologHandler.
I created my own AbstractProcessingHandlers for normal logs and logs as breadcrumbs. You can base them on the old Raven handlers, but changing where it calls sentry client to letting it call the sentry hub.
Similar to how it is done for laravel: https://raw.githubusercontent.com/getsentry/sentry-laravel/master/src/Sentry/Laravel/SentryHandler.php
I got it working!