Backpack for Laravel

Backpack for Laravel

A collection of Laravel packages to build a custom admin panel.

Documentation    Support

Understanding Backpack

What does it do and how is it organised?

Backpack is a collection of packages for Laravel 5.2, 5.3 and 5.4. You can use them to build custom admin panels fast, for anything from presentation websites to complex web applications.

After getting to know Backpack, you'll be able to create a CRUD panel for each entity in just a few steps:

# STEP 1. create migration
php artisan make:migration:schema create_tags_table --model=0 --schema="name:string:unique"
php artisan migrate

# STEP 2. create a model, a request and a controller for the admin panel
php artisan backpack:crud tag #use singular, not plural

# STEP 3. manually add this to your routes.php file (under the admin prefix and auth middleware):
# CRUD::resource('tag', 'TagCrudController');
# 
# For example:
# Route::group(['prefix' => 'admin', 'middleware' => ['admin'], 'namespace' => 'Admin'], function()
# {
#    CRUD::resource('tag', 'TagCrudController');
# });

After that, you can customize it to your liking/specifications, use advanced features, etc.

Please read this page

If it's your first time using Backpack, please read this entire page and follow the steps outlined below (How to get started). It takes 10-20 minutes, but it will save you A LOT of time and headache in the future. You'll understand how it works and how you get the most out of it.

Updates

If you're using Backpack, please subscribe to the newsletter. That way we can let you know about security updates, breaking changes and new packages. We send newsletters every 1-3 months, only when there's something important.

License

Backpack is free for non-commercial use and 39 EUR/project for commercial use. Please see the pricing section for details.

Screenshots & Package Descriptions

Take a look at backpackforlaravel.com's homepage.

Quick List of Packages

You'll probably want to install both core packages. All other packages are not mandatory - you only install it if you need the feature:

Core Packages:

  • Base - provides the layout (blade files, html and js);
  • CRUD - provides the logic for all CRUD operations;

Ready-built CRUDs

  • PermissionManager - interface to manage users & permissions;
  • Settings - interface to edit site-wide settings;
  • PageManager - CRUD for custom pages, using page templates;
  • MenuCRUD
  • NewsCRUD

Extensions

  • LangFileManager - interface to edit Laravel language files;
  • LogManager - interface to preview Laravel log files;
  • BackupManager - interface to backup your files & db;

How to Get Started

Never used it before?

  1. Go through the demo and play around
  2. Read this guide: CRUD - How to use (full example)
  3. Read and understand the basic CRUD features

Convinced you will use it?

  1. Take a quick look at the advanced features.
  2. Study the CrudController API. There are features you'll only find here. Can you spot them?

Understanding Backpack

What does it do and how is it organised?