code16/sharp
Code-driven CMS framework for Laravel (PHP 8.3+/Laravel 11+). Build admin/CMS sections with a clean UI and strong DX: CRUD with validation, search/sort/filter, bulk or custom commands, and authorization—no front-end code required, data-agnostic.
Designate a integer-only textfield.
Class: Code16\Sharp\Form\Fields\SharpFormNumberField
setMin(int $min)The minimum value that the UI allows.
setMax(int $max)The maximum value that the UI allows.
setStep(int $step)The step between values (with controls or arrow keys). Default is 1.
setShowControls(bool $showControls = true)Display mouse control (spinner). Default is false.
toFront: will cast the provided value as an int.fromFront: returns an int.How can I help you explore Laravel packages today?