PHP code example of rmsramos / system-info

1. Go to this page and download the library: Download rmsramos/system-info 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/ */

    

rmsramos / system-info example snippets


use Rmsramos\SystemInfo\SystemInfoPlugin;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->plugins([
                SystemInfoPlugin::make()
                    ->setSort(2),
            ]);
    }
}