1. Go to this page and download the library: Download laravolt/ui 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/ */
laravolt / ui example snippets
/**
* Example Menu
*/
'Main Menu' => [
'menu' => [
// Menu 1
'Menu 1' => [
'data' => [
'icon' => 'circle outline',
'permission' => 'read post' // for authorization
],
// Sub Menu 1-*
'menu' => [
'Sub Menu 1-1' => ['route' => 'home'],
'Sub Menu 1-2' => ['url' => '#'],
'Sub Menu 1-3' => ['url' => '#'],
]
],
// Menu 2
'Menu 2' => ['url' => '#', 'data' => ['icon' => 'circle outline']],
]
],
php
...
/*
* Package Service Providers...
*/
Laravolt\Ui\ServiceProvider::class,
...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.