1. Go to this page and download the library: Download zetrider/nova-inputs-field 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/ */
zetrider / nova-inputs-field example snippets
$table->text('fields')->nullable();
// Or
$table->longText('fields')->nullable();
// Or
$table->json('fields')->nullable();
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'fields' => 'array',
];