Launch date: November 2018
Here are the main differences between Backpack 3.4 and Backpack 3.5.
layout_guest
template which has no sidebar and no top menu;config/auth.php
file; details here;php artisan backpack:base:publish-user-model
command; details here;php artisan backpack:base:publish-middleware
command; details here;BackpackUser
model and CheckIfAdmin
middleware are published by default - so they can EASILY be customized; details here;inc/topbar_left_content.blade.php
and inc/topbar_right_content.blade.php
where the user can specify additional content for the top menu; details here; documentation here;layout
into multiple views (head
, scripts
), so it's easier to customize just one part of it;backpack_url()
can now take parameters, just like url()
;App/User
instead of BackpackUser
in your config/backpack/base.php
file;backpack_auth()
helper; BackpackUser
now picks up relationships from the User model it extends; details here;body.skin-purple
as a selector, to fix the paint glitch, where buttons and other things were shown blue, then changed to purple, when using the purple skin;da_DK
, fr_CA
and pt_br
have been duplicated into their standardized form (da-DK
, fr-CA
and pt-BR
); introduced notice that the old folders will be deprecated in the next release;persistent_table
functionality, and save state datatables; documentation here;visibleInTable
attribute to columns; documentation here;visibleInExport
attribute to columns; documentation here;visibleInShow
attribute to columns; documentation here;orderLogic
attribute to columns; documentation here;model_function
and model_function_attribute
column types; added to documentation here;select
, select2
, select_multiple
, select2_multiple
field, buy specifying a custom query or scope; adds a new options
attribute to the mentioned field types, so that they behave similarly to select_from_array
; documentation here;select2_nested
field type; documentation here;select_and_order
field type; documentation here;select_grouped
and select2_grouped
field types; documentation here and here;address_google
field type; documentation here;select2_from_ajax
field allows you to filter the results of a select2, depending on what has already been selected in a form - this means we can now have a select2 that depends on another select2, or a checkbox, or a radio, or whatever; documentation here;method
attribute to ajax select2s; documentation here;dependencies
attribute to ajax select2s; documentation here;Clone
operation; documentation here;$crud
to button;CrudTrait
is used on the Model; otherwise it throws a 500 error with a clear message; you can no longer create CRUD panels for Models that do not use CrudTrait;order
;mb_ucfirst()
instead of ucfirst()
;address
field type to address_algolia
; alias keeps backwards-compatibility;category[0][name]
;Then you'll love our premium add-ons - productivity tools and tons of new features.