php – Class 'Spatie\Activitylog\ActivitylogFacade' not found in activity log in laravel 7.1-ThrowExceptions

Exception or error:

I have installed spatie laravel activity log package but it is giving this error
I am following this documentation https://github.com/spatie/activitylog

How to solve:

This repository was updated 4 years ago and not compatible with Laravel7. Instead you can use https://github.com/spatie/laravel-activitylog

This repository has been archived by the owner. It is now read-only.

enter image description here

Leave a Reply

Your email address will not be published. Required fields are marked *