Back to templates

Template details

Basic Laravel Admin Panel

A basic and simple admin panel for Laravel projects.

About this template

Basic Laravel Admin Panel is a free, open-source boilerplate that scaffolds a complete admin dashboard for Laravel projects using Tailwind CSS and daisyUI, with roles, permissions, activity logs, and a prebuilt super admin login.

What is Basic Laravel Admin Panel?

Basic Laravel Admin Panel is a starter boilerplate for Laravel projects that provides a working admin dashboard out of the box. It is built on the balajidharma/laravel-admin package and bundles Tailwind CSS, daisyUI, spatie/laravel-permission, spatie/laravel-activitylog, and several other Laravel packages for menus, CRUD, forms, categories, comments, forums, reactions, view counters, attributes, and breadcrumbs. The template runs on Laravel and produces a fully seeded admin interface with a default superadmin account.

Key Features

  • Prebuilt admin dashboard — A ready-to-use administration interface with a responsive Tailwind CSS layout styled by daisyUI, accessible at the /admin route by default.
  • Role and permission management — Uses spatie/laravel-permission for ACL, and the admin panel comes seeded with a superadmin role and a superadmin user (superadmin@example.com, password password).
  • Activity logging — Integrates spatie/laravel-activitylog to record user actions throughout the admin area.
  • Modular package set — Includes balajidharma packages for menu management, CRUD generation, form building, categories, comments, forums, viewable resources, attributes, and reactions, all wired into the panel.
  • Configurable admin prefix — Change the admin URL prefix through config/admin.php or the ADMIN_PREFIX environment variable.
  • Docker and non-Docker installation — Install via Laravel Sail with MySQL, Redis, Meilisearch, Mailpit, and Selenium services, or run it on a standard PHP Composer setup with a MySQL database.
  • MIT licensed — Free to use and modify for commercial and personal Laravel projects.

Who is it for?

  • Laravel developers who need to scaffold a new project with an admin panel quickly rather than building CRUD screens, authentication, and permission handling from scratch.
  • Freelancers and agencies building custom Laravel applications who want a consistent admin foundation with common modules like categories, comments, and forums preinstalled.
  • Startups prototyping an MVP who want a known-good admin area with seeded data and a clean Tailwind/daisyUI interface to iterate on.
  • Developers learning Laravel admin patterns who want to explore how packages like spatie/laravel-permission and balajidharma/laravel-admin are integrated in a real project.

What can you do with it?

  • Scaffold a new Laravel app: Run composer create-project balajidharma/basic-laravel-admin-panel admin-app and you get a complete project with the admin panel installed and a superadmin login.
  • Manage permissions: Use the preconfigured spatie/laravel-permission integration to assign roles and permissions to admin users from the dashboard.
  • Extend with bundled modules: Build admin features on top of the included menu, CRUD, form builder, category, comment, and forum packages instead of installing each from scratch.
  • Customize the admin URL: Set the ADMIN_PREFIX environment variable to change the admin route from /admin to any path.

How does it work?

The template is a Composer-created Laravel application. After creating a project, you configure a MySQL database, run php artisan migrate --seed --seeder=AdminCoreSeeder to create the schema and seed the superadmin user, then run npm install and npm run dev for frontend assets and php artisan serve for the app. With Docker, you use Laravel Sail to provision MySQL, Redis, Meilisearch, Mailpit, and Selenium before migrating and seeding.

Pricing

Free. The template is open-sourced under the MIT license, and all bundled packages are open source as well.

FAQ

What is the default admin login?

The seeded super admin credentials are superadmin@example.com with password password. You can log in at the /admin route after seeding the database.

How do I change the admin prefix?

Set the ADMIN_PREFIX environment variable in your .env file, or change the prefix value inside config/admin.php. After changing the prefix, clear the config cache to apply the new URL.

Is Basic Laravel Admin Panel free?

Yes. It is licensed under the MIT license, so you can use, modify, and redistribute it freely for commercial or personal projects.

Does it require Docker?

No. Docker with Laravel Sail is optional. You can install it without Docker using Composer and a standard MySQL database, then run it with Laravel's built-in php artisan serve.

What Laravel packages are included?

It includes spatie/laravel-permission, spatie/laravel-activitylog, diglactic/laravel-breadcrumbs, and over a dozen balajidharma packages covering menus, CRUD, forms, categories, comments, forums, viewable, attributes, and reactions.