PHP code example of jeremykenedy / laravel-phpinfo

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

    

jeremykenedy / laravel-phpinfo example snippets


    'providers' => [
        jeremykenedy\laravelPhpInfo\LaravelPhpInfoServiceProvider::class,
    ];

/*
|--------------------------------------------------------------------------
| Laravel PHP Info settings
|--------------------------------------------------------------------------
*/

// The parent blade file
'laravelPhpInfoBladeExtended'   => 'layouts.app',

// Enable `auth` middleware
'authEnabled'                   => true,

// Enable Optional Roles Middleware
'rolesEnabled'                  => false,

// Optional Roles Middleware
'rolesMiddlware'                => 'role:admin',

'bootstapVersion'               => '4',

// Additional Card classes for styling -
// See: https://getbootstrap.com/docs/4.0/components/card/#background-and-color
// Example classes: 'text-white bg-primary mb-3'
'bootstrapCardClasses'          => '',
bash
    php artisan vendor:publish --tag=laravelPhpInfo