PHP code example of optimistdigital / nova-color-field
1. Go to this page and download the library: Download optimistdigital/nova-color-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/ */
optimistdigital / nova-color-field example snippets
use Outl1ne\NovaColorField\Color;
public function fields(Request $request) {
Color::make('Color'),
}
use Outl1ne\NovaColorField\Color;
public function fields(Request $request) {
Color::make('Color')->photoshop(),
Color::make('Color')->swatches(),
// ...
}