PHPackages                             ducvc/trusty - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ducvc/trusty

ActiveLaravel[Authentication &amp; Authorization](/categories/authentication)

ducvc/trusty
============

User interface for Laratrust

00HTML

Since Jun 8Pushed 5y agoCompare

[ Source](https://github.com/ducvc/laratrust-ui)[ Packagist](https://packagist.org/packages/ducvc/trusty)[ RSS](/packages/ducvc-trusty/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laratrust User Interface
========================

[](#laratrust-user-interface)

This package provides a user interface for the [santigarcor/laratrust](https://github.com/santigarcor/laratrust) package

---

### Table of Contents

[](#table-of-contents)

- [Demo](#Demo)
- [Requirements](#Requirements)
- [Installation](#Installation)
- [Configuration](#Configuration)
- [Usage](#Usage)
- [Route Middleware](#RouteMiddleware)
- [Screenshots](#Screenshots)
- [TODO](#TODO)

---

### Demo

[](#demo)

A demo for this package is available below. Please note certain features are disabled on the demo, such as editing and deleting users. The demo database is reset every hour.

**Demo URL:**

**Demo Username:**

**Demo Password:** password

---

### Requirements

[](#requirements)

This package requires you have the package `santigarcor/laratrust` installed on at least version `5.2.*`

---

### Installation

[](#installation)

Begin by running the `composer require` command from your terminal.

```
composer require icweb/trusty
```

---

### Configuration

[](#configuration)

If you are using Laravel 5.4 or lower, add the following provider to your `config\app.php` providers array. Laravel 5.5+ will do this automatically via package discover.

```
Icwebb\Trusty\App\Providers\TrustyServiceProvider::class
```

Publish the vendor files by running the `vendor:publish` command in your terminal

```
php artisan vendor:publish --tag="trusty"

```

The following files will be published:

```
/config
    - trusty.php

/resources/views/vendor/trusty
    - index.blade.php
    /layouts
        - trusty.blade.php
    /permissions
        - create.blade.php
        - edit.blade.php
        - index.blade.php
        - show.blade.php
    /roles
        - create.blade.php
        - edit.blade.php
        - index.blade.php
        - show.blade.php
    /users
        - create.blade.php
        - edit.blade.php
        - index.blade.php
        - show.blade.php

```

---

### Usage

[](#usage)

You can view all routes created by this package by running the `route:list` command in your terminal

```
php artisan route:list

```

```
+-----------+-------------------------------------+----------------------------+------------------------------------------------------------------------+--------------+
| Method    | URI                                 | Name                       | Action                                                                 | Middleware   |
+-----------+-------------------------------------+----------------------------+------------------------------------------------------------------------+--------------+
| GET|HEAD  | trust                               | trusty.index               | Icweb\Trusty\App\Http\Controllers\TrustyController@index               | web,auth     |
| POST      | trust/permissions                   | trusty.permissions.store   | Icweb\Trusty\App\Http\Controllers\PermissionsController@store          | web,auth     |
| GET|HEAD  | trust/permissions                   | trusty.permissions.index   | Icweb\Trusty\App\Http\Controllers\PermissionsController@index          | web,auth     |
| GET|HEAD  | trust/permissions/create            | trusty.permissions.create  | Icweb\Trusty\App\Http\Controllers\PermissionsController@create         | web,auth     |
| GET|HEAD  | trust/permissions/{permission}      | trusty.permissions.show    | Icweb\Trusty\App\Http\Controllers\PermissionsController@show           | web,auth     |
| PUT|PATCH | trust/permissions/{permission}      | trusty.permissions.update  | Icweb\Trusty\App\Http\Controllers\PermissionsController@update         | web,auth     |
| DELETE    | trust/permissions/{permission}      | trusty.permissions.destroy | Icweb\Trusty\App\Http\Controllers\PermissionsController@destroy        | web,auth     |
| GET|HEAD  | trust/permissions/{permission}/edit | trusty.permissions.edit    | Icweb\Trusty\App\Http\Controllers\PermissionsController@edit           | web,auth     |
| POST      | trust/roles                         | trusty.roles.store         | Icweb\Trusty\App\Http\Controllers\RolesController@store                | web,auth     |
| GET|HEAD  | trust/roles                         | trusty.roles.index         | Icweb\Trusty\App\Http\Controllers\RolesController@index                | web,auth     |
| GET|HEAD  | trust/roles/create                  | trusty.roles.create        | Icweb\Trusty\App\Http\Controllers\RolesController@create               | web,auth     |
| PUT|PATCH | trust/roles/{role}                  | trusty.roles.update        | Icweb\Trusty\App\Http\Controllers\RolesController@update               | web,auth     |
| DELETE    | trust/roles/{role}                  | trusty.roles.destroy       | Icweb\Trusty\App\Http\Controllers\RolesController@destroy              | web,auth     |
| GET|HEAD  | trust/roles/{role}                  | trusty.roles.show          | Icweb\Trusty\App\Http\Controllers\RolesController@show                 | web,auth     |
| GET|HEAD  | trust/roles/{role}/edit             | trusty.roles.edit          | Icweb\Trusty\App\Http\Controllers\RolesController@edit                 | web,auth     |
| GET|HEAD  | trust/users                         | trusty.users.index         | Icweb\Trusty\App\Http\Controllers\UsersController@index                | web,auth     |
| POST      | trust/users                         | trusty.users.store         | Icweb\Trusty\App\Http\Controllers\UsersController@store                | web,auth     |
| GET|HEAD  | trust/users/create                  | trusty.users.create        | Icweb\Trusty\App\Http\Controllers\UsersController@create               | web,auth     |
| DELETE    | trust/users/{user}                  | trusty.users.destroy       | Icweb\Trusty\App\Http\Controllers\UsersController@destroy              | web,auth     |
| PUT|PATCH | trust/users/{user}                  | trusty.users.update        | Icweb\Trusty\App\Http\Controllers\UsersController@update               | web,auth     |
| GET|HEAD  | trust/users/{user}                  | trusty.users.show          | Icweb\Trusty\App\Http\Controllers\UsersController@show                 | web,auth     |
| GET|HEAD  | trust/users/{user}/edit             | trusty.users.edit          | Icweb\Trusty\App\Http\Controllers\UsersController@edit                 | web,auth     |
+-----------+-------------------------------------+----------------------------+------------------------------------------------------------------------+--------------+

```

Or you can type in the following URL into your web browser to get started

```
http://127.0.0.1:8000/trust

```

#### Route Middleware

[](#route-middleware)

This package allows you to customize the middleware groups that are applied to the routes. To change the default middleware groups, visit the `config/trust.php` config file. Out of the box, the `web` and `auth` middleware groups are applied.

```
'middleware' => ['web', 'auth'],
```

---

### Screenshots

[](#screenshots)

Users Index: ![screely-1562522993648](https://user-images.githubusercontent.com/43120665/60772201-13a19680-a0c1-11e9-8e2b-e6b417baef98.png)

User Show: ![screely-1562523001593](https://user-images.githubusercontent.com/43120665/60772202-13a19680-a0c1-11e9-9108-5c41ae09cd40.png)

User Edit: ![screely-1562523018730](https://user-images.githubusercontent.com/43120665/60772203-143a2d00-a0c1-11e9-96fe-1b344d0f4810.png)

Roles Index: ![screely-1562523028116](https://user-images.githubusercontent.com/43120665/60772204-143a2d00-a0c1-11e9-99c9-615778564a3e.png)

Role Show: ![screely-1562523045843](https://user-images.githubusercontent.com/43120665/60772205-143a2d00-a0c1-11e9-8ce3-f9dfa2226bbe.png)

Permissions Index: ![screely-1562523060466](https://user-images.githubusercontent.com/43120665/60772206-143a2d00-a0c1-11e9-8fcc-9801774554ec.png)

---

### TODO

[](#todo)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66616498?v=4)[ducvc](/maintainers/ducvc)[@ducvc](https://github.com/ducvc)

---

Top Contributors

[![ducvc](https://avatars.githubusercontent.com/u/66616498?v=4)](https://github.com/ducvc "ducvc (4 commits)")[![icweb](https://avatars.githubusercontent.com/u/43120665?v=4)](https://github.com/icweb "icweb (1 commits)")

### Embed Badge

![Health badge](/badges/ducvc-trusty/health.svg)

```
[![Health](https://phpackages.com/badges/ducvc-trusty/health.svg)](https://phpackages.com/packages/ducvc-trusty)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
