Download the PHP package norman-huth/nova-radio-field without Composer

On this page you can find all versions of the php package norman-huth/nova-radio-field. 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-radio-field

Laravel Nova Radio Buttons Field

A Radio Buttons field for Laravel Nova.

Live Preview

Preview 1

Preview 2

Preview 3

Preview 4

Install

Usage

Advanced Usage

Field Help Text

If you would like to place "help" text beneath a field, you may invoke the help method when defining your field:

Help Text For Radio Label

If you would like to place "help" text beneath a radio label, you may invoke the radioHelpTexts method when defining your field:

Default Value

By default, this field use the first array item as default. You can set another default value via the default method, which accepts a value or callback.

Inline Radio Boxes

If you would like to place the radios inline instead in columns use the inline method:

Styling

Controlling Gap

If you would like change the gap between radio buttons use the gap method:

Default: 1 (0.25rem)

Method Gap
->gap(0.5) 0.125rem
->gap(1.5) 0.375rem
->gap(2) 0.5rem
->gap(2.5) 0.625rem
->gap(3) 0.75rem
->gap(3.5) 0.875rem
->gap(4) 1rem
->gap(5) 1.25rem
->gap(6) 1.5rem
->gap(8) 2rem

Add Classes To Field

You can add classes to the field class attribute by invoking the addClasses method when defining the field:

Set Field Classes

You can remove default field classes and set new classes of the field class attribute by invoking the setClasses method when defining the field:

Add Styles To Field

You can add styles to the field style attribute by invoking the addStyles method when defining the field:

Add Classes To Field Label's

You can add classes to the field label's class attribute by invoking the addClasses method when defining the field:

Add Styles To Field Label's

You can add styles to the field label's style attribute by invoking the addStyles method when defining the field:

Example: Creating Grid Like 3rd Preview

Without Label Like 4th Preview

Add A Title like 4th Preview

Add Classes To Title

Or remove default classes and set own:

Add Styles To Title

Display Keys On Index & Detail Page

If you would like to display the values instead the label, you may invoke the displayUsingValues method when defining the field :wink: :


All versions of nova-radio-field with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/nova Version ^4.0
norman-huth/nova-basic-package Version ^1.2.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 norman-huth/nova-radio-field contains the following files

Loading the files please wait ....