Download the PHP package la-souris/filament-state-stepper without Composer

On this page you can find all versions of the php package la-souris/filament-state-stepper. 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-state-stepper

Filament State Stepper

Tests

A Filament v5 infolist component that renders Spatie ModelStates as a visual step indicator. It automatically derives step order from AllowTransition attributes, resolves labels and icons from Filament contracts, and supports status-aware coloring for completed, current, upcoming, and error states.

Requirements

Installation

Register the plugin in your Filament panel provider:

Usage

With Spatie ModelStates

Pass your state base class to stateClass(). The component will automatically resolve the step order from AllowTransition attributes, starting at the DefaultState, and derive labels and icons from HasLabel and HasIcon contracts.

With manual options

Status-aware labels

Implement the HasStepperLabel contract on your state classes to display different labels depending on step status:

Customizing colors

Hiding states

Conditionally hide steps from the visual display:

How step ordering works

The component reads AllowTransition attributes from the state base class and builds a directed graph. Starting from the DefaultState, it walks the graph preferring non-terminal states (the "happy path") first. Terminal states (those without outgoing transitions) are appended at the end. When a terminal state is the current state, it displays as "completed" rather than "current".

Testing

Credits

Inspired by aureuserp/progress-stepper.

License

MIT. See LICENSE for details.


All versions of filament-state-stepper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
filament/support Version ^5.6
filament/infolists Version ^5.0
spatie/laravel-model-states Version ^2.0
spatie/laravel-package-tools Version ^1.16
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 la-souris/filament-state-stepper contains the following files

Loading the files please wait ...