Download the PHP package binarybuilds/filament-command-runner without Composer

On this page you can find all versions of the php package binarybuilds/filament-command-runner. 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 filament-command-runner

filament-command-runner

Run artisan and shell commands in the background from your Filament admin panel.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Overview

filament-command-runner is a Filament plugin that allows users to run artisan and shell commands directly from the Filament admin panel. All commands are executed in the background so users don't have to wait for them to finish. They can return later to view the output or optionally terminate a running command midway.

The plugin also keeps a detailed history of past runs including:

Screenshots

1. Installation

1.1 Install Package

You can install the plugin via composer:

1.2 Publish Migrations

You should publish the migration for the package and adjust it to fit your project's structure:

Before running the migrations, if you are using UUID or ULID, consider adjusting the ran_by field to store string instead of unsignedBigInteger. Feel free to adjust $table->id() field if needed. Once appropriate, run the migrations command:

Usage

Register the plugin in your Filament panel service provider:

Customizations

1. Authorization

You can restrict access to this plugin using the authorize method. This accepts a boolean or a closure that returns a boolean.

2. Navigation Group

You can change the navigation group using the navigationGroup method. This accepts a string, UnitEnum.

3. Navigation Label

You can customize the navigation label using the navigationLabel method.

4. Navigation Icon

You can change the navigation icon using the navigationIcon method. This accepts a Heroicon string or a Heroicon enum value.

5. Navigation Sort Order

You can change the navigation sort order using the navigationSort method.

6. Command Validation

You can define custom validation logic using the validateCommand() method. This is useful for restricting which commands can be run:

7. Delete Command History

Control who can delete command history entries using a boolean or closure with canDeleteCommandHistory():

8. Purge Old Command History

Schedule the following artisan command to purge command history entries daily:

By default, it removes command runs older than 30 days. You can specify a custom duration like this:

This example will purge command runs older than 7 days.

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of filament-command-runner with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0|^5.0
spatie/laravel-package-tools Version ^1.15.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 binarybuilds/filament-command-runner contains the following files

Loading the files please wait ...