Install dot-authorization with this Composer command:
dot-authorization
composer require dotkernel/dot-authorization
Version 4 requires PHP 8.3, 8.4, 8.5 or 8.6. Version 3 supports PHP 8.2 to 8.5.