⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
Laratrust is a comprehensive package designed to manage user roles and permissions seamlessly within Laravel applications. It offers a simple yet effective solution for implementing access control lists (ACL) and defining authorization logic. With Laratrust, developers can easily assign roles, permissions, and manage user access, ensuring a secure and organized environment for their projects.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/santigarcor/laratrust/8.5.1/loader.php';
require_once 'libs/laravel/framework/{lib_version}/loader.php';
use Santigarcor\Laratrust\Laratrust;
use Santigarcor\Laratrust\Role;
$obj = new Laratrust();
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.