OMNI Access v1.3.0 Free ~10 min read

Installing OMNI Access

Install the omni-access package via Composer, run the installer with seed data, add the hasRoles/hasPermissions traits to your User model.

A Administrator Oct 26, 2026 4 Steps 2,722 views
Discussion (0)
Step 1 of 4

Requirements

  • PHP 8.2 or higher
  • Laravel 10.x, 11.x, or 12.x
  • Composer
Step 2 of 4

Step 1: Install via Composer

composer require rbac-suite/omni-access
bash
composer require rbac-suite/omni-access
Step 3 of 4

Step 2: Run Installation Command

# Install with default data
php artisan omni-access:install --seed

# Install without seeding
php artisan omni-access:install
bash
# Install with default data
php artisan omni-access:install --seed

# Install without seeding
php artisan omni-access:install
Step 4 of 4

Step 3: Add Traits to User Model

<?php

namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use RbacSuite\OmniAccess\Traits\HasRoles;
use RbacSuite\OmniAccess\Traits\HasPermissions;

class User extends Authenticatable
{
    use HasRoles, HasPermissions;

    // Your existing code...
}

✓ Installation Complete! You can now start using OMNI Access in your application.

php
<?php

namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use RbacSuite\OmniAccess\Traits\HasRoles;
use RbacSuite\OmniAccess\Traits\HasPermissions;

class User extends Authenticatable
{
    use HasRoles, HasPermissions;

    // Your existing code...
}
Previous Step

Congratulations! You Completed This Guide

You've walked through all 4 steps for OMNI Access v1.3.0. Keep practicing and exploring more hands-on tutorials.

Community Discussions 0

Ask questions, share step solutions, or discuss software workflows with other professionals.

Moderated Community

Join the Community Discussion

Got stuck on a step or have a question about this configuration? Sign in to join the discussion and receive direct advice from instructors and peers.

No Discussions Yet

Have a question or found a clever tip for this guide? Start the conversation using the comment box above!

Promotional Ads Available Space
Place Your advertising ads Here

Promote your brand, product, or service directly to our active readers and community.

Contact Us