Download the PHP package fflch/laravel-fflch-stepper without Composer
On this page you can find all versions of the php package fflch/laravel-fflch-stepper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fflch/laravel-fflch-stepper
More information about fflch/laravel-fflch-stepper
Files in fflch/laravel-fflch-stepper
Download fflch/laravel-fflch-stepper
More information about fflch/laravel-fflch-stepper
Files in fflch/laravel-fflch-stepper
Vendor fflch
Package laravel-fflch-stepper
Short Description fflch stepper for laravel
License GPL-2.0-or-later
Package laravel-fflch-stepper
Short Description fflch stepper for laravel
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package laravel-fflch-stepper
Estilo fflch para laravel-stepper
https://github.com/AXN-Informatique/laravel-stepper
Instalação
composer require fflch/laravel-fflch-stepper
Publicação do arquivo de configuração:
php artisan vendor:publish --provider="Fflch\LaravelFflchStepper\LaravelFflchStepperServiceProvider" --tag="config"
Edite o arquivo config/laravel-fflch-stepper.php conforme suas necessidades.
Injete no controller:
use Fflch\LaravelFflchStepper\Stepper;
public function show(Pedido $pedido, Stepper $stepper)
{
$stepper->setCurrentStepName($pedido->status);
return view('pedidos.show',[
'pedido' => $pedido,
'stepper' => $stepper->render()
]);
}
No blade posicione onde deseja mostrar o stepper:
{!! $stepper !!}
All versions of laravel-fflch-stepper with dependencies
PHP Build Version
Package Version
Requires
fflch/laravel-stepper Version
^1.8.1
The package fflch/laravel-fflch-stepper contains the following files
Loading the files please wait ....