Run the following command in your project root directory:
composer require dotkernel/dot-rbac-route-guard