PHP code example of vibar / laravel-nova-grid
1. Go to this page and download the library: Download vibar/laravel-nova-grid library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vibar / laravel-nova-grid example snippets
public function fields(NovaRequest $request)
{
return [
Text::make('Email')
->size('w-1/12')
->sizeHalf(), // w-1/2
->sizeOneThird(), // w-1/3
->sizeTwoThirds(), // w-2/3
];
}