PHP code example of opensynergic / themes-manager

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

    

opensynergic / themes-manager example snippets



Themes::asset('css/app.min.css');

// or

theme_asset('css/app.min.css');

// or if you were inside OpenSynergic\ThemesManager\Theme object
$this->asset('css/app.min.css');

  php artisan themes-manager:make themeName

php artisan themes-manager:list

php artisan themes-manager:enable themeName

php artisan themes-manager:cache:clear