Hardening for guest login links, non-integer auth IDs, and profile URL config.
Added
- Configurable login_route + LoginUrl for the guest “log in to comment” link
- IntegerAuthId so likes/reports only store integer user IDs
- Configurable profile links via users_route_key (name|id) and optional user_profile_route
Fixed
-
Guest login links no longer crash when the login route is missing or renamed
-
UUID/non-integer auth users no longer break likes and reports
-
Bootstrap css_framework now uses Bootstrap Livewire pagination (#36)
-
@mention profile links can target /users/{id} or a named route (#34)
-
Sort dropdown stacking so it isn’t covered by the composer
-
Guest fields use
guestCommentsAllowed()consistently
Changed
commentify.user_modelis validated as an Eloquent model class- PHPDocs on CommentLike and CommentReport
Upgrade
composer require usamamuneerchaudhary/commentify:^4.2
If you publish config, merge:
'login_route' => 'login',
'users_route_key' => 'name', // or 'id'
'user_profile_route' => null, // e.g. 'users.show'
No new migrations.