PHP code example of upline / row-background
1. Go to this page and download the library: Download upline/row-background 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/ */
upline / row-background example snippets
use Upline\RowBackground\RowBackground;
RowBackground::make('Background color')->onlyOnIndex();
RowBackground::make('Background color', function ($model) {
return new RowBackgroundData($model->background_color, $model->text_color);
})->onlyOnIndex();