Download the PHP package izica/relations-widgets-for-backpack without Composer
On this page you can find all versions of the php package izica/relations-widgets-for-backpack. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download izica/relations-widgets-for-backpack
More information about izica/relations-widgets-for-backpack
Files in izica/relations-widgets-for-backpack
Download izica/relations-widgets-for-backpack
More information about izica/relations-widgets-for-backpack
Files in izica/relations-widgets-for-backpack
Vendor izica
Package relations-widgets-for-backpack
Short Description Widgets for preview model relations in laravel backpack
License MIT
Homepage https://github.com/izica/relations-widgets-for-backpack
Package relations-widgets-for-backpack
Short Description Widgets for preview model relations in laravel backpack
License MIT
Homepage https://github.com/izica/relations-widgets-for-backpack
Please rate this library. Is it a good library?
Informations about the package relations-widgets-for-backpack
Laravel Backpack Relations Widgets
- Installation
- Screenshots
- Features
- Documentation
- Usage
- How to enable creating related model
3.0 Whats new:
- relation_table search input
- relation_table create button with relation attribute reference
- relation_table pagination
Installation
Screenshots
Features
- use widgets for showing relations in show operation
- show or hide panels or fields by conditions
- build field value by closure
- use dot orm notation for accessing relation fields
Documentation
-
relation_panel
name
- name of relationlabel
- panel labelbackpack_crud
- backpack crud url,buttons
(optional) - setfalse
to hide all action buttonsbutton_show
(optional) - setfalse
to hidebutton_edit
(optional) - setfalse
to hidevisible
(optional) - closure for hiding or showing panelfields
(optional) - fields array, by default get columns fromfillable
in modelname
- namelabel
- for fieldclosure
- use closure instead of name field,visible
(optional) - closure for hiding or showing panel
- relation_table
name
- (required) name of relationlabel
- panel labelrelation_attribute
- (optional) used for passing url parameter name for button_createsearch
- (optional)closure
, enables search inputper_page
- (optional) enables pagination,null
by defaultbackpack_crud
- backpack crud url,buttons
(optional) - setfalse
to hide all action buttonsbutton_create
(optional) - setfalse
to hidebutton_show
(optional) - setfalse
to hidebutton_edit
(optional) - setfalse
to hidebutton_delete
(optional) - setfalse
to hidevisible
(optional) -closure
for hiding or showing panelcolumns
(optional) - columnsarray
, by default get columns fromfillable
in modelname
- namelabel
- for fieldclosure
- useclosure
instead of name field for passing value,
Usage
Relation panel
belongsTo
, hasOne
Relation table
hasMany
How to enable creating related model
You need to set:
button_create
=>true
relation_attribute
=>attribute_name
Next you need to add to relation/select field default
value:
All versions of relations-widgets-for-backpack with dependencies
PHP Build Version
Package Version
Requires
backpack/crud Version
^4.0|^4.1.0|^5.0|^6.0
The package izica/relations-widgets-for-backpack contains the following files
Loading the files please wait ....