Download the PHP package arbory/nova-grouped-boolean-field-group without Composer

On this page you can find all versions of the php package arbory/nova-grouped-boolean-field-group. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-grouped-boolean-field-group

Grouped boolean group field

Field which extends default Laravel Nova BooleanGroup field to be able to pass grouped collections.

To resolve and hydrate the field values, custom callbacks can be passed either to field constructor as arguments or via and field callbacks.

For field values, either pass a grouped collection or a custom callback to field callback.

Installation

Basic Usage:

Field instantiation with all arguments passed via constructor:

or via field callbacks:

Mapping field options

By default, field option key and value pairs will contain value of specified . For custom option labels, use field method.

Customising field layout

The field has 3 custom layouts available - row layout, full width column layout and full width layout.

Row layout can be enabled via method.

Full width column layout can be enabled via method.

Full width layout can be enabled via method.

Field group and global toggles

Field groups and entire field content can be made collapsible.

Field group toggles can be enabled via method. Global field toggle can be enabled via method.

When using toggles, it is also possible to specify toggle state, whether the field or groups should be open on page load.

To keep groups open in form view, use method. To keep groups open in details view, use method. To keep groups open in both views, use method.

To keep field open in form view, use method. To keep field open in details view, use method. To keep field open in both views, use method.

Group and global select all

This feature enables a checkbox, which will make it possible to toggle an entire group or all checkboxes within this field.

To enable group select all checkbox, use . To enable global select all checkbox, use .

Filters

It is also possible to add filters via method.

The method accepts a single parameter with filter options of type array. This filter toggles field groups by group names that come from field field options collection. Filter options should be keyed as .

A brief example of preparing a filter options collection:

Custom translations for global toggle and filter field

It is possible to set custom field labels for global toggle and filter field.

To do so, use or method and pass a string of your choice.


All versions of nova-grouped-boolean-field-group with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package arbory/nova-grouped-boolean-field-group contains the following files

Loading the files please wait ....