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,
],
bash
php artisan phpinfo:install --css=bootstrap4 --view=app --theme=system --no-interaction
bash
php artisan vendor:publish --tag=laravelPhpInfo
jsx
export default function PhpInfoLink() {
    return <a href="/phpinfo">PHP Information</a>;
}
bash
php artisan phpinfo:update --view=standalone
bash
php artisan vendor:publish --tag=laravelPhpInfo-config
bash
php artisan phpinfo:update
bash
php artisan phpinfo:update --css=bootstrap5 --view=standalone
bash
php artisan phpinfo:switch --css=tailwind
php artisan phpinfo:switch --theme=dark