Download the PHP
package pavloniym/nova-action-buttons without Composer
On this page you can find all versions of the php package
pavloniym/nova-action-buttons. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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.
Informations about the package nova-action-buttons
Nova Action Buttons
This Laravel Nova package allows you to execute an action directly on your resource table
view.
Requirements
php: >=8.0
laravel/nova: ^4.1
Installation
Install the package in a Laravel Nova project via Composer:
Usage
Single button
You can add single button to execute action from index row
Collection of buttons
You can add collection of buttons to index row
This fields (both ActionButton and ActionButtons) are available on index and detail (Thanks to @CosminBd) views
Caveats
Currently, in order to use this field, you still have to declare the action in your resource actions() method.
Tested only on confirm-action-modal action
You should provide action instance in action() method of button.
If you have action fields that are depends on resource instance -> you should inject resource in action constructor, because Nova doesn't provide NovaRequest instance to fields method on index row
To hide the action either on Index or Detail, you can add the methods in the action declaration as per:
This is available for both action buttons and action button groups, and it works in individual actions which are part of the action group.
To run actions without confirmation, you can add the $withoutConfirmation = true property to the Laravel Nova action or provide it as a method when you declare the action button
License
This project is open-sourced software licensed under the MIT license.
All versions of nova-action-buttons with dependencies
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 pavloniym/nova-action-buttons contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.