On this page
Installation
Install Lara Zeus Matrix Choice by running the following commands in your Laravel project directory.
composer require lara-zeus/matrix-choice
Usage:
use it in your resource
Matrix::make('question') ->label('Tell us about your mod') ->asRadio() // or ->asCheckbox() ->columnData([ '🙂', '😐', '🙁', ]) ->rowData([ 'Saturday', 'Sunday', 'Monday', ]) //set the row selection optional ->rowSelectRequired(false) ,