PHP code example of 64robots / nova-fields
1. Go to this page and download the library: Download 64robots/nova-fields 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/ */
64robots / nova-fields example snippets
// use R64\NovaFields\<NAME OF THE FIELD>;
use R64\NovaFields\Boolean;
Boolean::make('Activo', 'active')
->yesLabel('Yeah')
->noLabel('Nope')
->hideLabelInDetail()
->dotClasses('some classes')
->successClass('bg-warning')