PHP code example of gondwe / voyager-themes

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

    

gondwe / 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') !!}