---
title: "spatie/laravel-permission 8.0.0 Breaking Changes"
description: "What each spatie/laravel-permission release removed, renamed or changed: 215 breaking changes in 3 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/spatie/laravel-permission
last_updated: 2026-12-04
---

# spatie/laravel-permission breaking changes

spatie/laravel-permission 8.0.0 (May 30, 2026) is its newest release with breaking changes, 8 of them. The first: Signature changed Spatie\\Permission\\Contracts\\Permission::findByName. Every breaking API change we have recorded in spatie/laravel-permission on Packagist: 215 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.5.2`, released November 30, 2026. MIT license. [Source repository](https://github.com/spatie/laravel-permission)

Its 6.0.0 release drops PHP 7.3. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 8 breaking changes in 1 version.
- From [6.0.0](#v-6-0-0) to [8.0.0](#v-8-0-0): 134 breaking changes in 2 versions.

## spatie/laravel-permission 8.0.0 breaking changes

spatie/laravel-permission 8.0.0, released May 30, 2026: 8 breaking changes.

- **Signature changed** `Spatie\Permission\Contracts\Permission::findByName`  

Was public static function findByName(string $name, ?string $guardName): self; now public static function findByName(BackedEnum|string $name, ?string $guardName): self. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)
- **Signature changed** `Spatie\Permission\Contracts\Permission::findOrCreate`  

Was public static function findOrCreate(string $name, ?string $guardName): self; now public static function findOrCreate(BackedEnum|string $name, ?string $guardName): self. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)
- **Signature changed** `Spatie\Permission\Contracts\Role::findByName`  

Was public static function findByName(string $name, ?string $guardName): self; now public static function findByName(BackedEnum|string $name, ?string $guardName): self. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)
- **Signature changed** `Spatie\Permission\Contracts\Role::findOrCreate`  

Was public static function findOrCreate(string $name, ?string $guardName): self; now public static function findOrCreate(BackedEnum|string $name, ?string $guardName): self. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)
- **Signature changed** `Spatie\Permission\Models\Permission::findByName`  

Was public static function findByName(string $name, ?string $guardName = null): PermissionContract; now public static function findByName(BackedEnum|string $name, ?string $guardName = null): PermissionContract. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)
- **Signature changed** `Spatie\Permission\Models\Permission::findOrCreate`  

Was public static function findOrCreate(string $name, ?string $guardName = null): PermissionContract; now public static function findOrCreate(BackedEnum|string $name, ?string $guardName = null): PermissionContract. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)
- **Signature changed** `Spatie\Permission\Models\Role::findByName`  

Was public static function findByName(string $name, ?string $guardName = null): RoleContract; now public static function findByName(BackedEnum|string $name, ?string $guardName = null): RoleContract. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)
- **Signature changed** `Spatie\Permission\Models\Role::findOrCreate`  

Was public static function findOrCreate(string $name, ?string $guardName = null): RoleContract; now public static function findOrCreate(BackedEnum|string $name, ?string $guardName = null): RoleContract. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#8.0.0)

## spatie/laravel-permission 7.0.0 breaking changes

spatie/laravel-permission 7.0.0, released February 11, 2026: 126 breaking changes.

- **Removed**  

Lumen is no longer supported. Lumen users cannot use this version. [github.com](https://github.com/spatie/laravel-permission/releases/tag/7.0.0)
- **Removed** `Spatie\Permission\Commands\AssignRole`  

Spatie\\Permission\\Commands\\AssignRole was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Commands\CacheReset`  

Spatie\\Permission\\Commands\\CacheReset was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Commands\CreatePermission`  

Spatie\\Permission\\Commands\\CreatePermission was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Commands\CreateRole`  

Spatie\\Permission\\Commands\\CreateRole was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Commands\Show`  

Spatie\\Permission\\Commands\\Show was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Commands\UpgradeForTeams`  

Spatie\\Permission\\Commands\\UpgradeForTeams was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Contracts\Wildcard::__construct`  

The \_\_construct declaration was removed from the Wildcard contract. Implementations of this contract must be checked for compatibility. [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Events\PermissionAttached`  

Spatie\\Permission\\Events\\PermissionAttached was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)
- **Removed** `Spatie\Permission\Events\PermissionDetached`  

Spatie\\Permission\\Events\\PermissionDetached was removed in spatie/laravel-permission 7.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#7.0.0)

And 116 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## spatie/laravel-permission 6.0.0 breaking changes

spatie/laravel-permission 6.0.0, released October 25, 2023: 81 breaking changes.

- **Removed**  

The package no longer supports PHP 7.3. Upgrade PHP before using this version. [github.com](https://github.com/spatie/laravel-permission/releases/tag/6.0.0)
- **Removed**  

The package no longer supports PHP 7.4. Upgrade PHP before using this version. [github.com](https://github.com/spatie/laravel-permission/releases/tag/6.0.0)
- **Removed** `Spatie\Permission\Middlewares\PermissionMiddleware`  

Spatie\\Permission\\Middlewares\\PermissionMiddleware was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)
- **Removed** `Spatie\Permission\Middlewares\RoleMiddleware`  

Spatie\\Permission\\Middlewares\\RoleMiddleware was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)
- **Removed** `Spatie\Permission\Middlewares\RoleOrPermissionMiddleware`  

Spatie\\Permission\\Middlewares\\RoleOrPermissionMiddleware was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)
- **Removed** `Spatie\Permission\Models\Permission::collectPermissions`  

Spatie\\Permission\\Models\\Permission::collectPermissions was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)
- **Removed** `Spatie\Permission\Models\Permission::getTable`  

Spatie\\Permission\\Models\\Permission::getTable was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)
- **Removed** `Spatie\Permission\Models\Role::collectPermissions`  

Spatie\\Permission\\Models\\Role::collectPermissions was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)
- **Removed** `Spatie\Permission\Models\Role::getTable`  

Spatie\\Permission\\Models\\Role::getTable was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)
- **Removed** `Spatie\Permission\Traits\HasPermissions::collectPermissions`  

Spatie\\Permission\\Traits\\HasPermissions::collectPermissions was removed in spatie/laravel-permission 6.0.0 [packagist.org](https://packagist.org/packages/spatie/laravel-permission#6.0.0)

And 71 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [spatie/flare-client-php](https://since.dev/packages/packagist/spatie/flare-client-php.md)
- [spatie/laravel-ignition](https://since.dev/packages/packagist/spatie/laravel-ignition.md)
- [spatie/laravel-sluggable](https://since.dev/packages/packagist/spatie/laravel-sluggable.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
