PHP code example of extendscode / sllize-voyager-themes

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

    

extendscode / sllize-voyager-themes example snippets

bash
php artisan hook:install voyager-themes

php artisan vendor:publish



return [

    'themes_folder' => resource_path('views/themes'),
    'publish_assets' => true

];

{!! theme_field('text', 'title') !!}