PHP code example of zeix / craft-boarding

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

    

zeix / craft-boarding example snippets



return [
  // Global overrides (applied for all sites)
  'cssVariables' => [
    '--boarding-shepherd-primary-bg' => '#ff4d4f',
    '--boarding-tour-max-width' => '520px',
  ],

  // Optional per-site overrides (keyed by site handle)
  'siteCssVariables' => [
    'en' => [
      '--boarding-shepherd-primary-bg' => '#0d78f2',
    ],
  ],
];