All Projects → jjanampa → laravel-admin

jjanampa / laravel-admin

Licence: MIT license
Laravel admin dashboard

Programming Languages

CSS
56736 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language
Blade
752 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to laravel-admin

Ct Material Dashboard Pro
Material Dashboard Pro - Bootstrap 4 Admin
Stars: ✭ 88 (+300%)
Mutual labels:  admin-dashboard, bootstrap4
Material Dashboard
Material Dashboard - Open Source Bootstrap 5 Material Design Admin
Stars: ✭ 9,987 (+45295.45%)
Mutual labels:  admin-dashboard, material-dashboard
Clever Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Clever is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 98 (+345.45%)
Mutual labels:  admin-dashboard, bootstrap4
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+5295.45%)
Mutual labels:  admin-dashboard, bootstrap4
Basix Admin
Get Free and Premium Vue.js Bootstrap v4 Admin Dashboard Templates
Stars: ✭ 138 (+527.27%)
Mutual labels:  admin-dashboard, bootstrap4
Staradmin Free Bootstrap Admin Template
A Free Responsive Admin Dashboard Template Built With Bootstrap 4. Elegant UI Theme for Your Web App!
Stars: ✭ 1,191 (+5313.64%)
Mutual labels:  admin-dashboard, bootstrap4
Vali Admin
Free Bootstrap 4 admin/dashboard template
Stars: ✭ 1,391 (+6222.73%)
Mutual labels:  admin-dashboard, bootstrap4
Sleek Dashboard
Sleek Dashboard - Free Bootstrap 4 Admin Template and UI Kit
Stars: ✭ 690 (+3036.36%)
Mutual labels:  admin-dashboard, bootstrap4
Airframe Next
Free Open Source High Quality Dashboard based on Bootstrap 4 & React 16 + Next.js: http://airframe.nextjs.webkom.co
Stars: ✭ 138 (+527.27%)
Mutual labels:  admin-dashboard, bootstrap4
Tabler React
React components and demo for the Tabler UI theme.
Stars: ✭ 1,830 (+8218.18%)
Mutual labels:  admin-dashboard, bootstrap4
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (+5095.45%)
Mutual labels:  admin-dashboard, bootstrap4
Majesticadmin Free Bootstrap Admin Template
Simple Bootstrap 4 Dashboard template.
Stars: ✭ 160 (+627.27%)
Mutual labels:  admin-dashboard, bootstrap4
Root Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Root is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 54 (+145.45%)
Mutual labels:  admin-dashboard, bootstrap4
Coreui Free Angular Admin Template
CoreUI Angular is free Angular 2+ admin template based on Bootstrap 4
Stars: ✭ 1,279 (+5713.64%)
Mutual labels:  admin-dashboard, bootstrap4
Flask Scaffold
Prototype Database driven Web apps in Angular 6, Bootstrap 4 and REST API's with Flask (Python 3 framework)
Stars: ✭ 853 (+3777.27%)
Mutual labels:  admin-dashboard, bootstrap4
Coreui Angularjs
CoreUI AngularJS is free AngularJS admin template based on Bootstrap 4
Stars: ✭ 101 (+359.09%)
Mutual labels:  admin-dashboard, bootstrap4
Purpleadmin Free Admin Template
Purple Admin is one of the most stylish Bootstrap admin dashboard you can get hands on. With its beautifully crafted captivating design and well-structured code.
Stars: ✭ 473 (+2050%)
Mutual labels:  admin-dashboard, bootstrap4
Ngx Admin
Customizable admin dashboard template based on Angular 10+
Stars: ✭ 23,286 (+105745.45%)
Mutual labels:  admin-dashboard, bootstrap4
Lightning Admin Angular
A mobile first design of a responsive admin template built with angular and bootstrap
Stars: ✭ 107 (+386.36%)
Mutual labels:  admin-dashboard, bootstrap4
Architectui Html Theme Free
ArchitectUI Dashboard Free is lightweight and comes packed with the minimal set of components to get you started. If you have a simple application, it’s the perfect solution for you. It’s built on top of Bootstrap 4 and features a scalable architecture just like it’s wiser, older sibling – ArchitectUI HTML Pro theme.
Stars: ✭ 155 (+604.55%)
Mutual labels:  admin-dashboard, bootstrap4

laravel-admin

Laravel Admin is a drop-in admin panel package for Laravel which promotes rapid scaffolding & development, uses Material Dashboard

Requirements

Laravel >=7
PHP >= 7.0

Features:

  1. Admin User, Role & Permission Manager:
  2. Activity Log:
  3. Page CRUD:
  4. Settings:
  5. Login, Forgot Password
  6. Profile

Packages used:

Assets used:


Installation

After initializing instance of Laravel

  1. Autoloading: By default, module classes are not loaded automatically. You can autoload your modules using psr-4, add "Modules\\": "Modules/" in composer.json.

    {
      "autoload": {
        "psr-4": {
          "App\\": "app/",
          "Modules\\": "Modules/",
        }
      }
    }

    Tip: don't forget to run composer dump-autoload afterwards.

  2. Run

    composer require jjanampa/laravel-admin
    
  3. Install the admin package.

    php artisan laravel-admin:install
    

    Service provider will be discovered automatically.

    execute php artisan laravel-admin:install --force to force the installation, this process recreate the Admin module, removes and recreates the following tables: admin_users, admin_roles, admin_permissions, admin_permission_role, admin_role_user, pages, settings

Logging In

Visit (APP_URL)/admin to access the admin panel.

The default admin login is:

Email Address: [email protected]
Password: secret

Usage

  1. Create some permissions.

  2. Create some roles.

  3. Assign permission(s) to role.

  4. Create user(s) with role.

  5. For checking authenticated user's role see below:

    // Check role anywhere
    if (auth('admin')->user()->hasRole('editor')) {
        // Do admin stuff here
    } else {
        // Do nothing
    }
    
    // Check role in route middleware
    Route::resource('pages', 'Dashboard\PagesController')->middleware('role:editor');
  6. For checking permissions see below:

    if (auth('admin')->user()->can('permission-name')) {
        // Do something
    }

Learn more about ACL from here

For activity log please read spatie/laravel-activitylog docs

Screenshots

Admin Users Admin Roles Admin Permissions
Admin Users Admin Roles Admin Permissions
Pages Activity Log Settings
Pages Activity Log Settings
Profile Login Forgot Password
Profile Login Forgot Password
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].