laravel-auditing icon indicating copy to clipboard operation
laravel-auditing copied to clipboard

Lumen 9 exception

Open Stajor opened this issue 2 years ago • 5 comments

laravel/lumen-framework 9.0.1 owen-it/laravel-auditing 13.0.2

Exception message

In AuditingEventServiceProvider.php line 9:
                                                                                 
Class "Illuminate\Foundation\Support\Providers\EventServiceProvider" not found  

Stajor avatar Mar 17 '22 11:03 Stajor

Any updates here? Facing the same issue with Lumen 8.

jenis-daffodil avatar Apr 06 '22 13:04 jenis-daffodil

The AuditingEventServiceProvider.php@5 file contains a reference to Illuminate\Foundation\Support\Providers\EventServiceProvider which isn't present in later versions of lumen.

However changing the reference to be: use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider; would temporarily resolve it. This could not be applied to the package as it would break the laravel implementation

JamesMcClelland avatar Apr 11 '22 09:04 JamesMcClelland

My issue has been resolved, after downgrading to "owen-it/laravel-auditing" 12.x

jenis-daffodil avatar Apr 11 '22 09:04 jenis-daffodil

Hi. I am sorry about the missing response.

We are a bit thin on maintainers for this package in terms of hours. I do not have any experience with Lumen. In order to support usecases including Lumen use, we may need a bit of help.

MortenDHansen avatar Jul 15 '22 20:07 MortenDHansen

Try it now

  • https://github.com/owen-it/laravel-auditing/pull/731

erikn69 avatar Jul 29 '22 13:07 erikn69

@anteriovieira already fixed by #731, must be closed

parallels999 avatar Feb 01 '23 15:02 parallels999