A very simple admin panel for managing users, roles & permissions.

Overview

Laravel Admin Starter

Packagist Packagist

A very simple admin panel for managing users, roles & permissions.

The premise for this package is to eradicate the duplicate work I do for every new Laravel project I setup.

You will get a default user who has the role of admin. You will be able to log into the system with this user and manage all roles and permissions using a simple Bootstrap UI. The default yourapp.local/admin route will be restricted to users with admin role only. You will get a good default to build your application views and backend views separately.

Installation

Note: This package should be run as soon as you have created a new laravel project.

  1. Run
    composer require jamesmills/laravel-admin
    
  2. Install the admin package.
    php artisan laravel-admin:install
    

What this packages does

  • Install the below packages
  • Run a migration
    • Create tables for roles, role_user, permissions, permission_role
  • Create a new user Admin User ([email protected]) with the password p455word
  • Publish the Laravel Auth view files using 'php artisan make:auth'
  • Publish some additional view/template files
    • All CRUD view files for users, roles and permissions
    • A dedicated backend template resources/views/templates/backend.blade.php
  • Replace the AuthServiceProvider class with a new version
  • Replace the web routes file with a new version
  • Replaces the User model with a new version so that it has the HasRoles trail reference

Roles & Permissions

  1. Create some roles.
  2. Create some permissions.
  3. Give permission(s) to a role.
  4. Create user(s) with role.
  5. For checking authenticated user's role see below:
    // Check role anywhere
    if (auth()->check() && auth()->user()->hasRole('admin')) {
        // Do admin stuff here
    }
  6. For checking permissions see below:
    if ($user->can('permission-name')) {
        // Do something
    }

Learn more about ACL from here

Acknowledgements

The origin of this package is a fork from appzcoder/laravel-admin by Sohel Amin.

Note: I cloned the original project and created this so that I could remove the CRUD stuff.

You might also like...
A Laravel Admin Panel (Laravel Version : 6.0)
A Laravel Admin Panel (Laravel Version : 6.0)

Laravel Admin Panel (Current: Laravel 7.*) Introduction Laravel Admin Panel provides you with a massive head start on any size web application. It com

An account management Panel based on Laravel7 framework. Include multiple payment, account management, system caching, admin notification, products models, and more.

ProxyPanel 简体中文 Support but not limited to: Shadowsocks,ShadowsocksR,ShadowsocksRR,V2Ray,Trojan,VNET Demo Demo will always on dev/latest code, rather

A Laravel admin panel which is creating CRUD for your application automatically.

Adds a zero configuration Admin Panel to your Laravel Application Installation You can install the package via composer: composer require max-hutschen

Laravel Admin Panel
Laravel Admin Panel

Laravel Admin Panel An admin panel for managing users, roles, permissions & crud. Requirements Laravel =5.5 PHP = 7.0 Features User, Role & Permiss

EasyPanel is a beautiful, customizable and flexible admin panel based on Livewire for Laravel.
EasyPanel is a beautiful, customizable and flexible admin panel based on Livewire for Laravel.

EasyPanel EasyPanel is a beautiful, customizable and flexible admin panel based on Livewire for Laravel. Features : Easy to install Multi Language RTL

Basic admin panel with authentication and CURD operation..

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Admin panel for Uguu and Pomf.
Admin panel for Uguu and Pomf.

Moe Panel Admin panel for Uguu and Pomf which makes it easier to remove and blacklist files. Features Information about number of files uploaded & sto

Very simple CRUD project, written in pure php. Designed as framework-agnostic as possible, and with basically no stack overflow if you can believe that
Very simple CRUD project, written in pure php. Designed as framework-agnostic as possible, and with basically no stack overflow if you can believe that

briefly simple CRUD pure php project for self improvement I try to make it purely in github - not only code, but any documentation (wiki), tasks (issu

🧿 Build navigation or menu for Laravel and Awes.io. Unlimited complexity and depth, with permissions and sorting support.
🧿 Build navigation or menu for Laravel and Awes.io. Unlimited complexity and depth, with permissions and sorting support.

Navigator Laravel package that can easily create navigation menus of any complexity. With support for routing, permissions, sorting, rendering depth,

Owner
James Mills
James Mills
Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel.

Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.

Codepress 67 Dec 14, 2022
LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.

LaraAdmin 1.0 LaraAdmin is a Open source CRM for quick-start Admin based applications with features like Advanced CRUD Generation, Schema Manager and

Dwij IT Solutions 1.5k Dec 29, 2022
Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Note: This package is only used by Backpack v3. Starting with Backpack v4, everything this package does is included in Backpack/CRUD - one package to

Backpack for Laravel 845 Nov 29, 2022
Littlelink admin is an admin panel for littlelink that provides you a website similar linktree.

⚙️ LittleLink Admin LittleLink Admin is an admin panel for littlelink that provides you a website similar linktree. ?? Features creating a link page w

Khashayar Zavosh 70 Oct 29, 2022
Littlelink admin is an admin panel for littlelink that provides you a website similar linktree.

LittleLink Admin is an admin panel for littlelink that provides you a website similar linktree.

Khashayar Zavosh 70 Oct 29, 2022
Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE

Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Backpack for Laravel 845 Nov 29, 2022
A seamless django like admin panel setup for Laravel. Simple, non-cms table manager for admins.

Seamless Admin Panel A seamless Django-like admin panel setup for Laravel. Simple, non-cms table manager for admins. Installation steps Require the Pa

Advaith A J 15 Jan 2, 2023
A Simple & Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

Filament Exception Viewer A Simple & Beautiful Exception Viewer for FilamentPHP's Admin Panel Installation You can install the package via composer: c

Bezhan Salleh 33 Dec 23, 2022
TweetNow is a Twitter clone created with Vue.js and Laravel. It is a social media platform that allows users to post short messages, follow other users, and engage in conversations through comments and likes.

TweetNow TweetNow is a opensource social media created with Vue.js+Inertia SSR and Laravel. It is a social media platform that allows users to post sh

I.E.U. Juboraj Naofel 12 Jun 16, 2023
Admin One is simple, beautiful and free Laravel admin dashboard (built with Vue.js, Bulma & Buefy).

Admin One — Free Laravel Vue Bulma Dashboard Admin One is simple, beautiful and free Laravel admin dashboard (built with Vue.js, Bulma & Buefy). Built

Viktor Kuzhelny 136 Dec 27, 2022