Download the PHP package idkwhoami/flux-wizards without Composer

On this page you can find all versions of the php package idkwhoami/flux-wizards. 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 flux-wizards

Flux Wizards

A Laravel package that provides functionality for building wizard-style multi-step forms with Livewire Flux.

Table of Contents

Features

Installation

You can install the package via composer:

The package will automatically register its service provider.

Requirements

Usage

Quick Start

To quickly implement a wizard in your Livewire component:

  1. Add the HasWizard trait to your Livewire component
  2. Implement the required createWizard() and complete() methods
  3. Create views for each step in your wizard
  4. Use the navigation methods nextStep() and previousStep() for moving between steps

Creating a Wizard

To create a wizard, use the HasWizard trait in your Livewire component and implement the required methods:

Required Methods

When using the HasWizard trait, you must implement the following methods:

  1. createWizard(): Returns a configured Wizard instance with steps.
  2. complete(array $data): Handles the final submission when all steps are completed.

Navigation Methods

The HasWizard trait provides two methods for navigating between steps:

  1. nextStep(): Move to the next step in the sequence or complete the wizard if on the last step.
  2. previousStep(): Move to the previous step in the sequence.

Creating Step Views

Create Blade views for each step in your wizard. The views should be placed in the directory specified in the directory() method of your Wizard:

Blade Directives

The package provides two Blade directives for conditional rendering based on the current step:

  1. @step('step-key'): Renders content only if the current step matches the specified key.
  2. @endstep: Closes the conditional block.

Example:

Customizing the Wizard View

The package comes with a default wizard view that includes navigation buttons and error handling. You can publish this view to customize it:

Localization

The package includes translations for navigation buttons. You can publish the language files to customize them:

API Reference

Wizard Class

The Wizard class is the main container for your wizard:

Step Class

The Step class represents a single step in your wizard:

License

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


All versions of flux-wizards with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
livewire/flux Version ^2.1
livewire/flux-pro Version ^2.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 idkwhoami/flux-wizards contains the following files

Loading the files please wait ....