A powerful Laravel package for managing user permissions and roles efficiently with ease of use.
Current Version: 6.21.0
Last Updated: 2025-07-23
PHP Requirement: ^8.0
Dependencies: None
Package Description
Laravel Permission simplifies the process of authorization and access control in Laravel applications. With this package, you can easily assign permissions and roles to users, manage authorization logic, and secure your application effectively.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-permission/6.21.0/loader.php';
use Spatie\Permission\Models\Permission;
use Spatie\Permission\Models\Role;
$obj = new Permission();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.