PHP code example of thoomi2009 / dcat-themes

1. Go to this page and download the library: Download thoomi2009/dcat-themes 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/ */

    

thoomi2009 / dcat-themes example snippets


use Thoomi\DcatThemes\Themes;

Dcat\Admin\Color::extend('cuilv', Themes::getColors("cuilv"));

'layout' => [
  'color' => 'cuilv'
  ...
]
shell
php artisan vendor:publish --provider="Thoomi\DcatThemes\ThemesServiceProvider"