Download the PHP package marshmallow/live-update without Composer

On this page you can find all versions of the php package marshmallow/live-update. 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 live-update

alt text

Laravel Nova Live Update

Latest Version on Packagist Total Downloads Issues License

Edit your Nova resources from the index page. This package adds a TextLiveUpdate field that is editable inline on the index view, so you can update a value without opening the resource's edit screen.

Requirements

Installation

Install the package via Composer:

The package registers its service provider and assets automatically via Laravel's package auto-discovery, so there is nothing else to set up.

Usage

Use the TextLiveUpdate field in a Nova resource exactly like a regular Text field. It becomes editable directly on the index view:

When the value is changed inline, it is validated against the resource's update rules for that attribute before being saved.

Field types

Pass a type to control how the inline input behaves. Using date renders a date picker that saves on change and formats the value as Y-m-d:

Copyable

Render a button to copy the field's value to the clipboard:

Copy to another field

Copy the field's value into another field on the same form, with an optional tooltip:

Use as a placeholder

Render the field's value as a placeholder rather than an editable value:

Listen to another field

Recompute this field's value when another field changes. The callback receives the changed value, the attribute, the model, and the request, and returns the new value:

Copyable with a server-side action

Run a server-side action and copy its returned value. The action class must implement Marshmallow\LiveUpdate\CopyableActionInterface:

Then wire it up on the field. The optional when callback decides whether the action button is shown:

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see the License File for more information.


All versions of live-update with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
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 marshmallow/live-update contains the following files

Loading the files please wait ...