Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

meetgodhani's avatar

Integrating Intercom.io with Laravel

Hi

Has anyone integrated https://www.intercom.io/ with Laravel Application ? I wanted to know if there is any tutorial out there ?

0 likes
5 replies
kingpin's avatar

Yeah our company uses it as of recent. To be honest it's pretty much a 'use it as you see fit' type of platform... there is a php codebase that you can use inside any app, not Laravel specific... I am not trying to be funny on this comment, but reading the intercom docs should be enough to use the package the way you wanted.

I am going to make a statement that depending on what your app does, and finer details of what you want to record in the events for filtering stuff in Intercom, you're going to have to write your own implementation specific to your app, which is really why a tutorial is probably not going to happen.

We just add a few extra event listeners for intercom, and then queue up all the jobs to happen in the background for any type of tracking that we're doing. Just don't make your app dependent on Intercom... make Intercom tap into your app with events, that way you can remove it if need be without being a total pain.

2 likes
mcblum's avatar

@kingpin When you say "make Intercom tap into your app with events, that way you can remove it if need be without being a total pain" what exactly do you mean? Intercom will be in control of all of the messaging back and forth so if you were to remove it, wouldn't all of that data be gone?

willvincent's avatar

If you decided to no longer use the service the data would be "gone" anyway.. right?

mcblum's avatar

@willvincent That's what I was asking. I couldn't tell if he meant to keep a copy of the conversations or something in Laravel...

joedixon's avatar

I wrote an article about integrating Intercom with Laravel.

Like @kingpin mentioned, you will need to design your own integration so a step-by-step guide is not really possible, but my article will hopefully provide some insights and gotchas and if you have any more questions, just let me know and I'll be happy to discuss further.

Please or to participate in this conversation.