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
On this page
Latest version 8.5.2, released November 30, 2026. MIT license. Source repository
Its 6.0.0 release drops PHP 7.3. PHP end of life dates.
- From 7.0.0 to 8.0.0: 8 breaking changes in 1 version.
- From 6.0.0 to 8.0.0: 134 breaking changes in 2 versions.
spatie/laravel-permission 8.0.0 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
spatie/laravel-permission 7.0.0 breaking changes
- Removed
Lumen is no longer supported. Lumen users cannot use this version. github.com - Removed
Spatie\Permission\Commands\AssignRole
Spatie\Permission\Commands\AssignRole was removed in spatie/laravel-permission 7.0.0 packagist.org - Removed
Spatie\Permission\Commands\CacheReset
Spatie\Permission\Commands\CacheReset was removed in spatie/laravel-permission 7.0.0 packagist.org - Removed
Spatie\Permission\Commands\CreatePermission
Spatie\Permission\Commands\CreatePermission was removed in spatie/laravel-permission 7.0.0 packagist.org - Removed
Spatie\Permission\Commands\CreateRole
Spatie\Permission\Commands\CreateRole was removed in spatie/laravel-permission 7.0.0 packagist.org - Removed
Spatie\Permission\Commands\Show
Spatie\Permission\Commands\Show was removed in spatie/laravel-permission 7.0.0 packagist.org - Removed
Spatie\Permission\Commands\UpgradeForTeams
Spatie\Permission\Commands\UpgradeForTeams was removed in spatie/laravel-permission 7.0.0 packagist.org - 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 - Removed
Spatie\Permission\Events\PermissionAttached
Spatie\Permission\Events\PermissionAttached was removed in spatie/laravel-permission 7.0.0 packagist.org - Removed
Spatie\Permission\Events\PermissionDetached
Spatie\Permission\Events\PermissionDetached was removed in spatie/laravel-permission 7.0.0 packagist.org
And 116 more in this version. Sign up to see every change
spatie/laravel-permission 6.0.0 breaking changes
- Removed
The package no longer supports PHP 7.3. Upgrade PHP before using this version. github.com - Removed
The package no longer supports PHP 7.4. Upgrade PHP before using this version. github.com - Removed
Spatie\Permission\Middlewares\PermissionMiddleware
Spatie\Permission\Middlewares\PermissionMiddleware was removed in spatie/laravel-permission 6.0.0 packagist.org - Removed
Spatie\Permission\Middlewares\RoleMiddleware
Spatie\Permission\Middlewares\RoleMiddleware was removed in spatie/laravel-permission 6.0.0 packagist.org - Removed
Spatie\Permission\Middlewares\RoleOrPermissionMiddleware
Spatie\Permission\Middlewares\RoleOrPermissionMiddleware was removed in spatie/laravel-permission 6.0.0 packagist.org - Removed
Spatie\Permission\Models\Permission::collectPermissions
Spatie\Permission\Models\Permission::collectPermissions was removed in spatie/laravel-permission 6.0.0 packagist.org - Removed
Spatie\Permission\Models\Permission::getTable
Spatie\Permission\Models\Permission::getTable was removed in spatie/laravel-permission 6.0.0 packagist.org - Removed
Spatie\Permission\Models\Role::collectPermissions
Spatie\Permission\Models\Role::collectPermissions was removed in spatie/laravel-permission 6.0.0 packagist.org - Removed
Spatie\Permission\Models\Role::getTable
Spatie\Permission\Models\Role::getTable was removed in spatie/laravel-permission 6.0.0 packagist.org - Removed
Spatie\Permission\Traits\HasPermissions::collectPermissions
Spatie\Permission\Traits\HasPermissions::collectPermissions was removed in spatie/laravel-permission 6.0.0 packagist.org
And 71 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.