PHP code example of prooph / link-dashboard

1. Go to this page and download the library: Download prooph/link-dashboard 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/ */

    

prooph / link-dashboard example snippets


//module.config.php of the link-app-core module
return [
    'prooph.link.dashboard' => [
        'system_config_widget' => [
            'controller' => 'Prooph\Link\Application\Controller\DashboardWidget', //Controller alias of WidgetController
            'order' => 101 //Order of the widget on the dashboard
        ]
    ],
    //...
];