nella/monolog-tracy-bundle
Monolog Tracy Bundle connects Monolog logging with the Tracy debugger, forwarding log records and exceptions into Tracy for clearer, centralized inspection during development. Useful for PHP apps that want richer debug output with minimal wiring.
Install with composer require vendor/package:^2.0. The v2.0.0 release raises the floor to PHP 7.1+ and Symfony 4.0+, so confirm both before bumping — see the upgrade notes below.
Look first at three files in the package: composer.json (the require block confirms the PHP/Symfony constraints and whether Laravel auto-discovery is wired via extra.laravel), the package's ServiceProvider, and any config/*.php file it ships for publishing.
Publish the config and clear caches before first use:
php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"
php artisan config:clear && php artisan cache:clear
First use case: resolve the package's main class from the container (or its facade) inside a controller, then run the simplest possible call end-to-end — e.g. a single read/transform operation — to prove the provider boots and config is loaded. Don't wire it into business logic until that smoke test passes.
composer.json, pin "php": "^7.1" and the Symfony constraints ("symfony/*": "^4.0") to match v2.0.0. If your app is on Laravel 5.5 or earlier, check that the framework itself doesn't pull Symfony 3 components — Composer will resolve a conflict rather than silently downgrade.config/*.env-specific files or env vars) rather than editing the published file, so config:cache in production stays predictable.handle() rather than serializing it onto the job payload — many Symfony-backed services aren't safely serializable.setUp(). Add one integration test that boots the real provider so a future major bump fails loudly in CI.composer update. Run composer why-not vendor/package 2.0.0 to surface exactly which package blocks the upgrade.Dockerfile, CI matrix, and platform.php in composer.json before tagging the upgrade.Controller base class changes, Debug component moves). If you consume any Symfony class directly alongside this package, audit those call sites — the package bump can expose transitive breakage in your own code.php artisan package:discover and composer dump-autoload -o to refresh the manifest. Stale bootstrap/cache/packages.php is the usual cause of "class not found" after a version bump.config:cache masks config changes. If behavior doesn't match your edited config, clear the cache first — this bites hardest right after the upgrade when you're changing several settings at once.DB::listen-style trace; with Symfony 4's stricter error handling, exceptions that were previously swallowed may now surface as hard failures — treat newly appearing exceptions as compatibility signals, not regressions.How can I help you explore Laravel packages today?