vishalmandora/baum
Baum is a Laravel package for managing hierarchical tree data in Eloquent models, offering helpers for ancestors, descendants, and ordered nested structures. Ideal for categories, menus, and org charts, with a lightweight, easy-to-integrate design.
config/app.php if you're on an older skeleton).composer.json constraints against your Laravel version. This 5.8 release specifically targets Laravel 5.8 event-firing compatibility, so confirm you are on laravel/framework:^5.8 if you need the fix.php artisan vendor:publish if the README calls for it, then review the published file for event names, listener mappings, or queue settings.Minimal smoke test:
Event::fake();
// Trigger the package action that should fire the event
$package->doSomething();
Event::assertDispatched(\Vendor\Package\Events\SomethingHappened::class);
If that assertion passes, the package is wired correctly for your app.
Event::fire(). The 5.8 fix confirms the package now uses the modern dispatch path. Treat Event::fire() as deprecated in your own code as well; use Event::dispatch() or the event() helper.EventServiceProvider. Map the package's event classes to your listeners in $listen, then run php artisan event:clear if you cache events.ShouldQueue on listeners and ensure a queue worker is running.Event::fake() at the boundary. Fake events before invoking the package action, assert dispatch, and test listener behavior separately by calling the listener directly or using Event::fake() selectively.DB::afterCommit() so downstream work does not run before the transaction commits.Event::fire() in favor of Event::dispatch(). The release note ("Solved even fire issue for laravel 5.8") almost certainly refers to this. If you are pinned to an older package version, upgrade to this release before debugging missing events on Laravel 5.8.composer.json constraints and run the test suite after updating.Event::fake(), confirm the listener is registered, then confirm the queue worker is running if the listener is queued.How can I help you explore Laravel packages today?