Skip to content

Update spatie/laravel-permission requirement from ^6.0 to ^6.0 || ^7.0#6

Merged
fadymondy merged 1 commit intomasterfrom
dependabot/composer/spatie/laravel-permission-tw-6.0or-tw-7.0
Feb 23, 2026
Merged

Update spatie/laravel-permission requirement from ^6.0 to ^6.0 || ^7.0#6
fadymondy merged 1 commit intomasterfrom
dependabot/composer/spatie/laravel-permission-tw-6.0or-tw-7.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 15, 2026

Updates the requirements on spatie/laravel-permission to permit the latest version.

Changelog

Sourced from spatie/laravel-permission's changelog.

7.1.0 - 2026-02-14

What's Changed

New Contributors

Full Changelog: spatie/laravel-permission@7.0.0...7.1.0

7.0.0 - 2026-02-11

Modernize codebase for v7

The aim for v7 is to modernize the codebase while keeping the upgrade path easy. Modern PHP/Laravel features, Pest tests, but no big architectural changes. A future v8 could then tackle larger changes and streamline the package more fundamentally.

Version requirements

  • Requires PHP ^8.4 and Laravel ^12.0
  • Test suite uses Pest ^3.0

Service provider

  • Converted to PackageServiceProvider from spatie/laravel-package-tools
  • Removed Lumen support

Class renames

  • Event classes now have an Event suffix (PermissionAttachedPermissionAttachedEvent, etc.)
  • Command classes now have a Command suffix (CacheResetCacheResetCommand, etc.)

Type safety

  • Added return types and parameter types throughout traits, middleware, exceptions, contracts, and commands

Code modernization

  • is_a($this, X::class)$this instanceof X
  • get_class($obj)$obj::class
  • strpos($x, $y) !== falsestr_contains($x, $y)
  • Constructor promotion in WildcardPermission
  • Proper use imports for global classes

Cleanup

  • Removed deprecated clearClassPermissions() method
  • Removed __construct from Wildcard contract
  • Modernized migration stubs

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [spatie/laravel-permission](https://github.com/spatie/laravel-permission) to permit the latest version.
- [Release notes](https://github.com/spatie/laravel-permission/releases)
- [Changelog](https://github.com/spatie/laravel-permission/blob/main/CHANGELOG.md)
- [Commits](spatie/laravel-permission@6.0.0...7.1.0)

---
updated-dependencies:
- dependency-name: spatie/laravel-permission
  dependency-version: 7.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Feb 15, 2026
@fadymondy fadymondy merged commit bb51107 into master Feb 23, 2026
3 of 4 checks passed
@dependabot dependabot Bot deleted the dependabot/composer/spatie/laravel-permission-tw-6.0or-tw-7.0 branch February 23, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant