Add Role and Permissions based authentication to Laravel API

Laravel creates an Admin API from scratch — Part 3

Balaji Dharma
Dev Genius
Published in
3 min readFeb 12, 2023

--

Photo by Clément Dellandrea on Unsplash

To manage roles & permission, we going to add the Spatie Laravel-permission package to our Laravel Admin API.

The following steps are involved to install the Laravel permission package for our Laravel Admin API.

--

--