PHP code example of hmmm-hmmm-hmmm / nova-telescope-menu
1. Go to this page and download the library: Download hmmm-hmmm-hmmm/nova-telescope-menu 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/ */
hmmm-hmmm-hmmm / nova-telescope-menu example snippets
use HmmmHmmmHmmm\NovaTelescopeMenu\NovaTelescopeMenu;
// ...
public function tools()
{
return [
// ... Other Nova tools ...
new NovaTelescopeMenu,
];
}
use HmmmHmmmHmmm\NovaTelescopeMenu\NovaTelescopeMenu;
// ...
public function tools()
{
return [
// ... Other Nova tools ...
(new NovaTelescopeMenu())->setName('MyCustomName')->setIcon('briefcase'),
];
}