1. Go to this page and download the library: Download daikazu/welcome-bar 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/ */
daikazu / welcome-bar example snippets
return [
/*
|--------------------------------------------------------------------------
| Storage Path
|--------------------------------------------------------------------------
*/
'storage_path' => storage_path('app/welcome-bar.json'),
/*
|--------------------------------------------------------------------------
| Route Middlewares or Security
|--------------------------------------------------------------------------
|
| For example, you could specify a route middleware group here that your
| "update" route uses for authentication or token checking.
|
*/
'middleware' => [
'update' => ['api'], // Or anything your app uses, e.g. 'auth:api', or a custom 'welcome-bar-auth'
'fetch' => ['web'], // Or 'api'
],
];