Download the PHP package blendbyte/nova-items-field without Composer

On this page you can find all versions of the php package blendbyte/nova-items-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-items-field

Nova Items Field

Latest Version on Packagist

Laravel Nova array items field with sorting, validation & many display options.

Forked from dillingham/nova-items-field.

nova-array-input-field

Installation

Quick Start

Be sure to cast the property as an array on your Eloquent model:

Validation

Use Laravel's built-in array validation:

In this case, an error is produced if there aren't at least 2 items in the array and if each item is not a valid email or is shorter than 10 characters.

You can also use explicit attribute names — the behaviour is exactly the same:

Array Processing

Use the array to perform other actions by making an observer:

Customizing the Vue Component

You can replace the default item Vue component — see this walkthrough for a brief guide.

Options

Method Description Default
->max(number) Limit number of items allowed false
->draggable() Turn on drag/drop sorting false
->fullWidth() Increase the width of the field area false
->maxHeight(pixel) Limit the height of the list false
->listFirst() Move "add new" to the bottom false
->inputType(text) Input type: text, date, etc. "text"
->placeholder($value) Placeholder text for the new item input "Add a new item"
->deleteButtonValue($value) Label for the delete button "x"
->createButtonValue($value) Label for the create button "Add"
->hideCreateButton() Hide the "Add" button false
->indexAsList() Display items as a list on index instead of a count false
->detailsAsTotal() Display item count on detail view instead of a list false

Maintained by Blendbyte


Blendbyte

Blendbyte builds cloud infrastructure, web apps, and developer tools.
We've been shipping software to production for 20+ years.

This package runs in our own stack, which is why we keep it maintained.
Issues and PRs get read. Good ones get merged.


blendbyte.com · [email protected]


All versions of nova-items-field with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
laravel/nova Version ^4.0
ext-json Version *
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 blendbyte/nova-items-field contains the following files

Loading the files please wait ...