- What is liran-co/laravel-intercom used for?
- laravel-intercom is a Laravel wrapper around the Intercom PHP library. It provides a fluent, Laravel-friendly way to manage Intercom contacts, companies, tags, events, and conversations from your application. The package includes configuration, facades, and helpers intended to make integration quicker than calling the underlying Intercom API directly.
- How do I install laravel-intercom with Composer?
- Install it with Composer using composer require liran-co/laravel-intercom. Review the package README for any required post-install steps, such as publishing configuration or setting environment variables. After installation, confirm the service provider is discovered correctly and that your Intercom credentials are configured before making API calls.
- How do I configure laravel-intercom with my Intercom API credentials?
- You will need to provide Intercom API credentials through the package configuration, typically via environment variables in your Laravel .env file. Check the package configuration file for the exact key names and any optional settings it exposes. Keep credentials out of source control and use separate Intercom workspaces or tokens for non-production environments.
- Does laravel-intercom support Laravel 11?
- The v1.6.2 release note states Laravel 11 support, so that is the version to evaluate for a Laravel 11 application. Because this was a patch-level release, verify that composer.json actually allows illuminate/* ^11.0 and that Laravel 11 is covered in CI. Also confirm whether Laravel 10 support is retained if you still have services on older versions.
- Which Laravel and PHP versions does laravel-intercom require?
- The available release information only confirms Laravel 11 support added in v1.6.2; a complete PHP and Laravel support matrix is not documented in the provided context. Laravel 11 generally requires PHP 8.2 or newer, so validate that the package Composer constraints do not force an unwanted PHP upgrade or block your current runtime. Check composer.json and the README before pinning the package in production.
- What Intercom objects can I manage with laravel-intercom?
- The package is described as making it easy to manage contacts, companies, tags, events, and conversations via the Intercom API. Those resources cover common use cases such as syncing user data, segmenting accounts, tracking activity, and handling support conversations. Exact method names and payload options should be confirmed from the package source or README.
- How can I test laravel-intercom without hitting the live Intercom API?
- The provided context does not confirm whether laravel-intercom ships built-in fakes or HTTP recording helpers, so plan to isolate it in tests. A practical approach is to swap the underlying Intercom client or HTTP transport with a mock, bind a test double through the container, and assert the expected API calls. Add an integration test that boots the package service provider in a Laravel 11 reference app to catch configuration or dependency issues.
- Is laravel-intercom ready for production on Laravel 11?
- Treat production readiness as medium risk until you verify the Laravel 11 compatibility claim, because the only signal available is a patch release note. Pin v1.6.2 in a branch, run Composer resolution under Laravel 11, exercise package integration points such as providers, config, queues, and scheduled tasks, and run your full test suite. Canary the change in staging and keep a rollback pin to the previous package version.
- How actively is laravel-intercom maintained and what is its release cadence?
- The package appears to be actively maintained, given the v1.6.2 release adding Laravel 11 support, but a formal support policy and release cadence are not included in the available information. For production planning, ask the maintainers whether Laravel 11 is officially supported, best-effort, or merely dependency-compatible. Track releases and CI status rather than relying on a single patch note as proof of long-term support.
- What are alternatives to laravel-intercom for Laravel applications?
- If you only need basic API calls, you can use the underlying Intercom PHP library directly and wrap it in your own small service class. That avoids an extra Laravel abstraction but means you own configuration, facades, and helper code yourself. Other Laravel-specific Intercom wrappers may exist, so compare their Laravel 11 support, maintenance activity, and test coverage before choosing.