I personally like Laravel Activity Log very much, but it might miss functionalities you need that some other package can offer you.
Depending on your use case you need to decide which package you want to use. Double-check the requirements you need and based on that use the package that fits the best
not sure which other package you are referring to. I was also using spatie roles and permissions, and this one allowed me to record changes to those models also.
It really depends what your requirements are. I needed to know if someone was changing roles and permissions of users as a primary requirement.
Using Spatie Roles, I had to implement my own Role model and then audit that.
<?php
namespace App;
use Spatie\Activitylog\Traits\LogsActivity;
use Spatie\Permission\Models\Role as SR;
class Role extends SR
{
use LogsActivity;
protected static $logAttributes = ['name', 'guard_name'];
protected static $logName = 'user';
}
same for Permission.
This package also stores all changes as a json object with old and new arrays of changed fields. If you want to know if a specific field was changed then you have to compare the two arrays. This may not suit your use case. Its fine for me as I just need to keep an audit trail for investigations later.