Weave Code
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

Acl Laravel Package

konekt/acl

View on GitHub
Deep Wiki
Context7

Concord (Laravel) Module For Handling Permissions And Roles

Tests Packagist version Packagist downloads StyleCI MIT Software License

This package allows you to manage user permissions and roles in a database.

Intro

Once installed you can do stuff like this:

// Adding permissions to a user
$user->givePermissionTo('edit articles');

// Adding permissions via a role
$user->assignRole('writer');

$role->givePermissionTo('edit articles');

Because all permissions will be registered on Laravel's gate, you can test if a user has a permission with Laravel's default can function:

$user->can('edit articles');

Package Origins

  • This package is a fork of Spatie's Permission v2.1.5.
  • Reason for the fork was to convert the package into a Concord compliant module.
  • As of v1.0: most of the changes have been ported from Spatie v2.9.0
  • Beginning with v2.0, this package no longer maintains compatibility and feature parity with the Spatie Permission package.
  • The most important feature of v2 is the possibility of Sharing Eloquent models across users.

Documentation

https://konekt.dev/acl/master/README

Changelog

Please see Changelog for more information what has changed recently.

Credits

This package is a modified variant of Spatie Permission package which is heavily based on Jeffrey Way's awesome Laracasts lessons on permissions and roles. His original code can be found in this repo on GitHub.

Alternatives

License

The MIT License (MIT). Please see License File for more information.

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.
cocosmos/filament-sticky-save-bar
patrickbussmann/oauth2-apple
3brs/enterprise-security-bundle
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope