owen-it / laravel-auditing

Record the change log from models in Laravel
https://laravel-auditing.com
MIT License
2.94k stars 383 forks source link

Laravel's auto event discovery not working #926

Closed surazdott closed 2 months ago

surazdott commented 2 months ago
Q A
Bug? no
New Feature? no
Framework Laravel
Framework version 11.5

Package version: 13.6 | PHP version | 8.3

Actual Behaviour

By default, Laravel 11 will automatically find and register our event listeners by scanning our application's Listeners directory. The event was working fine before installing the package. After installation, the package Laravel auto-event discovery is not working. But manually registering events is working fine.

Expected Behavior

I want to use Laravel's auto-event discovery functionality after installing the package.

parallels999 commented 2 months ago