PHP code example of uchup07 / laravel-themes

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

    

uchup07 / laravel-themes example snippets


$path = theme_path('resources/js/bootstrap.js');

$path = theme_path('resources/js/bootstrap.js', 'bootstrap');

php artisan vendor:publish --provider="Uchup07\LaravelThemes\LaravelThemesServiceProvider" --tag="config"

php artisan make:laravel-theme bootstrap