PHPackages                             figlabhq/crud-resource-for-backpack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. figlabhq/crud-resource-for-backpack

ActiveLibrary[Admin Panels](/categories/admin)

figlabhq/crud-resource-for-backpack
===================================

Build CRUD panels using fluent field definitions.

1.0.8(2y ago)122.1k3[5 issues](https://github.com/figlabhq/crud-resource-for-backpack/issues)[1 PRs](https://github.com/figlabhq/crud-resource-for-backpack/pulls)MITPHP

Since Jun 29Pushed 2y ago4 watchersCompare

[ Source](https://github.com/figlabhq/crud-resource-for-backpack)[ Packagist](https://packagist.org/packages/figlabhq/crud-resource-for-backpack)[ Docs](https://github.com/figlabhq/crud-resource)[ RSS](/packages/figlabhq-crud-resource-for-backpack/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (4)Versions (11)Used By (0)

CRUD Resource for Laravel Backpack
==================================

[](#crud-resource-for-laravel-backpack)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1bfed8bb4860eebfd06f119c370974b61f9ad25817e8bdb1397a3849b24d1a54/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6669676c616268712f637275642d7265736f757263652d666f722d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/figlabhq/crud-resource-for-backpack)[![Total Downloads](https://camo.githubusercontent.com/8f55fd72a7eff6f5b60a6ff841f8554b7c914e03a9c823d8732d22fbef3df792/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6669676c616268712f637275642d7265736f757263652d666f722d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/figlabhq/crud-resource-for-backpack)[![The Whole Fruit Manifesto](https://camo.githubusercontent.com/9fc65ecdd629dc33c369f73e0bc051740f01647367c131a574577fea2a5678bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f77726974696e672532307374616e646172642d74686525323077686f6c6525323066727569742d627269676874677265656e)](https://github.com/the-whole-fruit/manifesto)

This package allows creating CRUD panels for [Backpack for Laravel](https://backpackforlaravel.com/) administration panel using fluent field definitions.

This is heavily inspired by [Laravel Nova](https://nova.laravel.com/).

### What does it offer?

[](#what-does-it-offer)

- Define Resources once, get all configurations ready for CRUD panels 🚀
- Get IDE hints - these are all PHP classes 😉
- Avoid long, nested, hard-to-remember array configurations 🥱
- Embrace the elegance of Object-Oriented API with [Fluent Interface Pattern](https://en.wikipedia.org/wiki/Fluent_interface) ⚙️

Installation
------------

[](#installation)

Via Composer

```
composer require figlabhq/crud-resource-for-backpack
```

Usage
-----

[](#usage)

1. Create a new class defining the fields required for your model. Here is how it'd look for standard Laravel User model:

    ```
