Build Custom Admin Panels With Backpack for Laravel

Last updated on by

Build Custom Admin Panels With Backpack for Laravel image

Backpack for Laravel is a collection of packages that allows you to create admin panels for any web app quickly. It provides a set of useful packages that will make creating a highly customizable admin panel easier.

The fastest way to see Backpack in action is to browse the demo app, which comes with all the packages preinstalled.

Backpack comes with three different types of packages and most of them are FREE:

  1. Core packages
  2. Ready-made CRUDs
  3. Extensions

The Backpack Team maintains all of these addons. This means perfect compatibility and regular updates from one software vendor - no surprise dead packages.

Core Packages

There are two core packages:

  • Backpack CRUD which accelerates the process of building CRUDs for admin panels. It provides DataTables integration, create and update forms with more than 28 field types, validation using form requests, multi-language support and much more.
  • Backpack PRO is a paid addon, which adds many features to your admin panel: 29 more fields & columns, 10 filters, 5 more operations and a few more widgets.

Ready-Made CRUDs

Backpack provides five already-built CRUDs which target the most commonly used CRUDs in web apps. You can install them right away or use them as examples to build more complex functionality. Let’s take a look:

PermissionManager

An admin panel for managing users, roles and permissions, so you can assign a user multiple roles and permissions.

Settings

An interface for easily changing the application settings. It provides different types of settings such as email, check boxes, text, numbers, etc. Be aware it does not include an interface for adding new settings, so you should add them directly to the database. If you want to retrieve any setting’s value, you can use Config::get('settings.admin_name').

PageManager

It’s a CRUD for creating pages for your website using predefined templates with any fields you want and the ability to use various field types. To define your templates, open the app/PageTemplates.php file and add your template.

Now, you can create a new page using our new template like this:

NewsCRUD

It’s a CRUD for quickly creating anything related to news; you create articles, tags and categories with support for nesting categories and reordering them.

MenuCRUD

A CRUD for adding, editing, deleting, reordering, and nesting menu items. It provides the ability to use internal or external links, and you can link to a page from Backpack\MenuManager.

Extension Packages

There are many extension packages for Backpack - let’s take a look at each of them:

BackupManager:

An interface for creating and managing backups for files and database. It supports various drivers like S3, Dropbox, Google Drive, Box, etc. Check out the package readme at Github for more details.

LogManager:

An interface for dealing with Laravel log files. You can download, preview, or delete without accessing your server through SSH.

TranslationManager

Translation Manager provides a simple user interface to help you deal with translations in your Laravel application. Edit, Search and filter all translations directly from the interface present in your application’s language files (including vendor translations).

LanguageSwitcher

This package adds a Language Switcher dropdown to the Backpack Admin Panel, allowing admins to switch the application to their preferred language.

FileManager

Backpack admin interface for files and folder, using barryvdh/laravel-elfinder.

EditableColumns

This extension offers a few editable columns to update values directly from the list view. When edited, columns will submit an AJAX request to the controller to update the attribute in the database.

ActivityLog

See who changed what and when inside your app. See all the DB changes your users have done. This package adds a web interface for spatie/laravel-activitylog.

CalendarOperation:

Add a Calendar view to your CRUD; let admins list, search and preview db entries on a calendar, as well as make quick edits with drag & drop. Save many hours integrating FullCalendar.

ReviseOperation

This extention adds an interface for venturecraft/revisionable to your Backpack CRUDs so that the admin can see the changes that have been made to an entry and undo changes.

Backpack MedialibraryUploaders

If your project uses Spatie Media Library, this addon provides the ability for Backpack fields to easily store uploaded files as media (by using Spatie Media Library).

DownloadOperation

This package provides a way to add "Download" buttons to CRUDs to download PDFs related to your entries, using spatie/laravel-browsershot. OR simply override a function to return file in the format of your choice.

Backpack DevTools

If you wish a web interface to do the above - generate CRUD, Migration, Model, Seeder and Factory right from your browser window. Forget about the command line. Forget about migration types. Go from idea to full CRUD in seconds using Backpack DevTools.

Backpack Themes Support

Yes, Backpack supports themes for the admin panel. You can choose an existing one or create your own. Currently, Backpack v6 provides three themes:

Each theme has its PROs and CONs, for example:

  • Tabler offers 300+ beautiful HTML components;
  • CoreUIv2 provides Internet Explorer support;

Community Addons

Backpack has a growing community that also publishes FREE addons. Some good examples are:

Backpack Pricing

Backpack has several tiers of pricing. You can save 20% off using the coupon LARAVELNEWS.


That’s it; if you want to create admin panels for any web app quickly, try Backpack for Laravel. For more details about usage, options and customization, check out the documentation. To learn how you can generate a complete CRUD in one command, check out this article.

Cristian Tabacitu photo

Creator of Backpack for Laravel

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

Laravel Forge logo

Laravel Forge

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Forge
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $7500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $2500/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce
LaraJobs logo

LaraJobs

The official Laravel job board

LaraJobs
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Rector logo

Rector

Your partner for seamless Laravel upgrades, cutting costs, and accelerating innovation for successful companies

Rector
MongoDB logo

MongoDB

Enhance your PHP applications with the powerful integration of MongoDB and Laravel, empowering developers to build applications with ease and efficiency. Support transactional, search, analytics and mobile use cases while using the familiar Eloquent APIs. Discover how MongoDB's flexible, modern database can transform your Laravel applications.

MongoDB

The latest

View all →
Add Comments to your Laravel Application with the Commenter Package image

Add Comments to your Laravel Application with the Commenter Package

Read article
Laravel Advanced String Package image

Laravel Advanced String Package

Read article
Take the Annual State of Laravel 2024 Survey image

Take the Annual State of Laravel 2024 Survey

Read article
Upload Files Using Filepond in Livewire Components image

Upload Files Using Filepond in Livewire Components

Read article
The Best Laravel Tutorials and Resources for Developers image

The Best Laravel Tutorials and Resources for Developers

Read article
Introducing Built with Laravel image

Introducing Built with Laravel

Read article