Backpack is a collection of Laravel packages that help you build custom administration panels, for anything from presentation websites to complex web applications. You can install them on top of existing Laravel installations or fresh projects.
In a nutshell:
One quick way is to use laracasts/generators to generate the migration, then Backpack to generate a CRUD:
# STEP 0. create migration (in case you're starting from scratch) composer require --dev laracasts/generators php artisan make:migration:schema create_tags_table --model=0 --schema="name:string:unique" php artisan migrate # STEP 1. create a Model, Request, Controller, Route and sidebar item for the admin panel php artisan backpack:crud tag #use singular, not plural # STEP 2. go through the generated files, customize according to your needs
Of course, if you use Backpack for work, you should consider buying our Backpack DevTools addon, which will help you generate better Migrations, Models, Seeders, Factories and CRUDs... from the comfort of your browser window 🤯 Once you get used to it, it'll be difficult to ever do this manually, ever again:
We heavily recommend you spend a little time to understand Backpack, and only afterwards install and use it. Fortunately it's super-simple to get started. Using any of the options below will get you to a point where you can use Backpack in your projects:
Take a look at our live demo. If you've purchased Backpack/PRO you can even install the demo and fiddle with the code. Otherwise, you can just start a new Laravel project, install Backpack\CRUD on top, and follow our text course to create a few CRUDs.
Backpack has never had a critical vulnerability/hack. But there have been important security updates for dependencies (including Laravel). Please register using Github or subscribe to our twice-a-year newsletter, so we can reach you in case your admin panel becomes vulnerable in any way.
Backpack v5 is the current version, and is being actively maintained by the Backpack team, with the help of a wonderful community of Backpack veterans. See all contributors.
Starting with v5, Backpack has become open-core. The main features are now split into two packages:
Backpack\CRUD is perfect if you're building a simple admin panel - it's packed with features! It's also perfect if you're building an open-source project, the permissive license allows you to do whatever you want.
When your admin panel grows and your needs become more complex, you can purchase our Backpack\PRO add-on, which adds A LOT of features for complex use-cases (see list here). Our documentation includes instructions on how to use both Backpack\CRUD and Backpack\PRO, with all the PRO features clearly labeled PRO
Starting with Backpack v5, all our packages follow semantic versioning. Here's what
5.0.1) means for Backpack\CRUD:
major- breaking changes, major new features, complete rewrites; released once a year, in February; it adds features that were previously impossible and upgrades our dependencies; upgrading is done by following our clear and detailed upgrade guides;
minor- new features, released in backwards-compatible ways; every few months; update takes seconds;
patch- bug fixes & small non-breaking changes; historically every week; update takes seconds;
When we release a new Backpack\CRUD version, all paid addons receive support for it the same day. And because (1) we release a new version every year and (2) when you buy a Backpack addon, you get access to not only updates, but also upgrades (for 12mo), that means that... any time you buy a Backpack addon, it is very likely that you're not only buying the current version (
v5 at the moment), but also the upgrade to the next version (
v6 for example).
Backpack's core is open-source and free (Backpack\CRUD). FREE
The reason we've been able to build and maintain Backpack since 2016 is that Laravel professionals have supported us, by buying our paid products. As of 2022, these are all Backpack add-ons, which we highly recommend:
In addition to our open-source core and our closed-source addons, there are a few other addons you might want to take a look at, that treat common use cases. Some have been developed by our core team, some by our wonderful community. You can just install interfaces to manage site-wide settings, the default Laravel users table, users, groups & permissions, content for custom pages, using page templates, news articles, categories and tags, etc. FREE
For more information, please see our addons page.