PHP code example of arx / arxmin

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

    

arx / arxmin example snippets


'providers' => [
	'Arxmin\ArxminServiceProvider',
]

Arxmin::registerMenu(array(
    'name' => 'Dashboard', # Name of your Dashboard
    'ref' => 'dashboard', # absolute ref of your module
    'type' => 'module', # type of element (by default module)
    'ico' => 'fa-home', # font-awesome icon to use
    'link' => url('/arxmin/modules/dashboard'), # the absolute module path
    'position' => 0, # the wanted position in the Admin
));


use Arxmin\ModuleController;

class DashboardController extends ModuleController {
	public function anyIndex()
	{
		$title = __("Dashboard example");

		$description = __("This dashboard can be customised in /modules/Dashboard");

		return $this->viewMake('dashboard::index', get_defined_vars());
	}
}

`sh
php artisan arxmin:install