Closed alistaircol closed 1 year ago
I recently installed this package on a project where we are serving an internal microservice API which has no need to have users/auth/cookies, etc.
So we have it so that AuthServiceProvider and CookieServiceProvider providers aren't being loaded.
AuthServiceProvider
CookieServiceProvider
When I was doing some activity logging activity()->log('whatever') (attempted with causedBy(null), causedByAnonymous(), etc.) I was encountering an issue.
activity()->log('whatever')
causedBy(null)
causedByAnonymous()
Target class [auth] does not exist.
This PR will resolve this.
I recently installed this package on a project where we are serving an internal microservice API which has no need to have users/auth/cookies, etc.
So we have it so that
AuthServiceProvider
andCookieServiceProvider
providers aren't being loaded.versions
* php 8.1 * laravel 9.47.0 * spatie/laravel-activitylog 4.7.3When I was doing some activity logging
activity()->log('whatever')
(attempted withcausedBy(null)
,causedByAnonymous()
, etc.) I was encountering an issue.This PR will resolve this.