Blog Tutorials


29th of November 2016
Nested resources in Backpack CRUD

Sometimes you'll have one resource that depends on another one. For example, you might have: a Post model; a User model; The admins could see all posts, of course. But if you might want to see only one user's posts. Sometimes, you don't want to be using a filter. You just want to go from a User to that User's posts. In this case, you can create a nested resource. Basically you'd be creating a th...

Read More
16th of October 2019
How to Add Impersonate Functionality to Your Backpack v4 Admin Panel

Sometimes it's useful for the admin to see everything from the user's perspective. To see exactly what he sees. With an admin panel like Backpack, it's not too difficult to add this functionality. Assumptions: you're using PermissionManager (or have a custom UserCrudController); you have a way to differentiate between admins and normal users; you're running Backpack v4 on Laravel 5.8 or Laravel 6...

Read More