PHP code example of leogopaldev / nova-intercom-viewer
1. Go to this page and download the library: Download leogopaldev/nova-intercom-viewer 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/ */
leogopaldev / nova-intercom-viewer example snippets
// in app/Nova/User.php
use Itainathaniel\IntercomViewer\IntercomViewer;
// ...
public function fields()
{
return [
// ...
IntercomViewer::make()->onlyOnDetail(),
];
}
// in app/Nova/User.php
IntercomViewer::make()
->onlyOnDetail()
->hideEmail()
->hideLastseenip(),
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.