variety of premium plugins

Learn More

quantity

Installation

Install Lara Zeus Quantity by running the following commands in your Laravel project directory.

composer require lara-zeus/quantity

Usage:

use it in your resource

\LaraZeus\Quantity\Components\Quantity::make('amount_number')
->heading('select quantity')
->default(3)
->maxValue(10)
->minValue(2)
->stacked()
 
->label('select quantity')
->required()
->inlineLabel()
->disabled()
->hiddenLabel()
->helperText('between 2 and 10')
->columnSpan(1)
,