This package it's an API that allows admin to manage access rules and user access in a database and protects routes with the package middleware.
Require the package in your composer.json and update your dependency with composer update.
"railroad/permissions" : "1.0.*"