PHP code example of ijpatricio / nova-larastan-tool
1. Go to this page and download the library: Download ijpatricio/nova-larastan-tool 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/ */
ijpatricio / nova-larastan-tool example snippets
// in app/Providers/NovaServiceProvider.php
// ...
public function tools()
{
return [
// ...
new \Ijpatricio\NovaLarastanTool\NovaLarastanTool(),
];
}
public function tools()
{
$tools = [
//... your regular tools
];
if (app()->environment() === 'local') {
$tools = array_merge($tools, [
//... your