Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Guardian Laravel Package

rennokki/guardian

Guardian is a Laravel package for managing roles and permissions. Define abilities, attach them to roles or users, and check access in routes, controllers, middleware, and Blade views through a clean, expressive API that keeps authorization logic simple, readable, and centralized.

View on GitHub
Deep Wiki
Context7

Guardian is a lightweight Laravel package that simplifies authorization by letting you attach abilities directly to your Eloquent models and check them through Laravel's native Gate API. Instead of scattering permission logic across policies, you can grant, revoke, and verify abilities with an expressive, chainable syntax.

  • Grant and revoke abilities on any model instance
  • Check permissions using familiar can, cannot, and Gate methods
  • Organize abilities into roles for coarse-grained access
  • Middleware and Blade directives for route- and view-level checks
  • Simple migrations and cache-friendly lookups
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core