PHP code example of realrashid / laravel-driverjs

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

    

realrashid / laravel-driverjs example snippets


use RealRashid\LaravelDriverJs\Facades\DriverJs;

DriverJs::tour('onboarding')
    ->showProgress()
    ->step('#header', 'Welcome!', 'This is your dashboard.')
    ->step('#sidebar', 'Navigation', 'Your tools live here.')
    ->render();