how to get styles elements from database in Laravel 8

  css, eloquent, laravel, laravel-8

I want to create dashboard branding, so I need to save color, font, and logo in database. I did save it to database. Now I want to access those data in tag, navbar and css files.
This is my setting table which stores data.
namespace AppModels;

use IlluminateDatabaseEloquentFactoriesHasFactory;
use IlluminateDatabaseEloquentModel;

class Setting extends Model
    use HasFactory;

    protected $fillable = [

Source: Laravel

Leave a Reply