PHPackages                             vizrex/laratrust-ingest - 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. [CLI &amp; Console](/categories/cli)
4. /
5. vizrex/laratrust-ingest

ActiveLaravel-package[CLI &amp; Console](/categories/cli)

vizrex/laratrust-ingest
=======================

Utility package to ingest roles and permissions easily using command line.

3.0.0(6y ago)15143proprietaryPHPPHP &gt;=7.2.0

Since Jan 16Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Vizrex/laratrust-ingest)[ Packagist](https://packagist.org/packages/vizrex/laratrust-ingest)[ RSS](/packages/vizrex-laratrust-ingest/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (7)Used By (0)

> # READ THIS FIRST
>
> [](#read-this-first)

> It is highly recommended for all contributors to update this file whenever there's a major update in source code. Use [this tool](https://stackedit.io/app#) for easy editing or [visit this page](https://help.github.com/articles/basic-writing-and-formatting-syntax/) for comprehensive guide on markdown syntax.

Introduction
============

[](#introduction)

This package provides an easy way to seed roles and permissions from a csv file to database tables created by [Laratrust Package](https://github.com/santigarcor/laratrust).

### CAUTION

[](#caution)

Following tables will be truncated on execution of this command:

- permission\_user
- permission\_role
- permissions
- role\_user
- roles

Signature
---------

[](#signature)

```
roles-and-permissions:update {csvFilePath}
```

CSV Format
----------

[](#csv-format)

### Columns

[](#columns)

First 3 columns will have title as follow:

- permission\_name
- permission\_display\_name
- permission\_description

Next columns shall have the role `name` and `display_name` separated by semicolon `;` as follow: `super-admin;Super Admin`

### Rows

[](#rows)

Each row will have name of permissions, its display name and description respectively in first three cells. Following cells will have either `y` or `n` depending on the assignment of that permission to corresponding role.

### Sample

[](#sample)

Here's a [Sample CSV File](https://docs.google.com/spreadsheets/d/1b_x1orATTR_QWxabVPg2Kg6WFqPmlwKT9RtfxuxYYtE/edit#gid=0).

To-dos
======

[](#to-dos)

Following are the approved items:

- Item-1

Wishlist
========

[](#wishlist)

Add the suggestions in this wishlist. Only approved wishlist items can be moved to To-dos list:

- Item-1

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 76.2% 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.

###  Release Activity

Cadence

Every ~76 days

Total

5

Last Release

2363d ago

Major Versions

1.1.0 → 2.0.02019-03-27

2.0.0 → 3.0.02019-11-21

PHP version history (2 changes)1.0.0PHP &gt;=7.0.0

3.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/49ed679f8af1a3a1da9a187d1ce6520287263a4d1c575617708fc76cbcff3ba4?d=identicon)[vizrex](/maintainers/vizrex)

---

Top Contributors

[![zeshanfarooqi](https://avatars.githubusercontent.com/u/1576772?v=4)](https://github.com/zeshanfarooqi "zeshanfarooqi (16 commits)")[![nafeeshasan](https://avatars.githubusercontent.com/u/42134152?v=4)](https://github.com/nafeeshasan "nafeeshasan (3 commits)")[![rizwan-sarfraz](https://avatars.githubusercontent.com/u/46752534?v=4)](https://github.com/rizwan-sarfraz "rizwan-sarfraz (2 commits)")

### Embed Badge

![Health badge](/badges/vizrex-laratrust-ingest/health.svg)

```
[![Health](https://phpackages.com/badges/vizrex-laratrust-ingest/health.svg)](https://phpackages.com/packages/vizrex-laratrust-ingest)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[bestmomo/nice-artisan

Web interface for Laravel Artisan

215149.3k](/packages/bestmomo-nice-artisan)[statamic/cli

Statamic CLI Tool

7587.7k](/packages/statamic-cli)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

251.1k](/packages/mwguerra-web-terminal)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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