Download the PHP package leogopaldev/nova-intercom-viewer without Composer
On this page you can find all versions of the php package leogopaldev/nova-intercom-viewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download leogopaldev/nova-intercom-viewer
More information about leogopaldev/nova-intercom-viewer
Files in leogopaldev/nova-intercom-viewer
Package nova-intercom-viewer
Short Description Laravel Nova resource tool to view user's data from intercom
License MIT
Informations about the package nova-intercom-viewer
Nova Intercom Viewer
Laravel Nova resource tool to view user's data from intercom.io
User profile partial panel
More data view, including some extra data, location & custom attributes
Events view
Conversations view
Notes view
Installation
This package relies on Intercom's Laravel package. If you hadn't installed it already, do that now and follow their instructions, and at the end you need to add Intercom's data to you config/services.php
file as follows:
Install the package in to a Laravel app that uses Nova via composer:
Now you can register this resource tool in your App\Nova\User
or any other model who uses Intercom on your application. I'll use the User for demonstration purposes:
The default view in the user profile page contains all the field Intercom provide. You can selectively hide them, by chaining hide function of the maker, like so:
And so on. The complete list of functions you could use is this:
hideAvatar()
hideId()
hideEmail()
hidePhone()
hideName()
hideAnonymous()
hidePseudonym()
hideLastseenip()
hideSessioncount()
hideUnsubscribedfromemails()
hideMarkedemailasspam()
hideHashardbounced()
hideUseragentdata()
hideAnalytics()
Credits
License
The MIT License (MIT). Please see License File for more information.