---
name: Bug report
about: Report or reproducable bug
title: ''
labels: ''
assignees: ''

---

**Before creating a new bug report**
Please check if there isn't a similar issue on [the issue tracker](https://github.com/spatie/laravel-permission/issues) or in [the discussions](https://github.com/spatie/laravel-permission/discussions).

**Describe the bug**
A clear and concise description of what the bug is.

**Versions**
You can use `composer show` to get the version numbers of:
- spatie/laravel-permission package version:
- illuminate/framework package

PHP version:

Database version:


**To Reproduce**
Steps to reproduce the behavior:

Here is my example code and/or tests showing the problem in my app:

**Example Application**
Here is a link to my Github repo containing a minimal Laravel application which shows my problem:

**Expected behavior**
A clear and concise description of what you expected to happen.

 **Additional context**
Add any other context about the problem here.

**Environment (please complete the following information, because it helps us investigate better):**
 - OS: [e.g. macOS]
 - Version [e.g. 22]
 
