- What is lbhurtado/engagespark used for?
- It is a Laravel integration for the engageSPARK messaging platform. It lets your application send SMS through Laravel and work with engageSPARK features such as contacts, groups, broadcast campaigns, inbound messages, and delivery webhooks. You use it when you want engageSPARK functionality behind a clean, configurable PHP API instead of calling the platform directly.
- How do I install lbhurtado/engagespark in Laravel?
- Install it with Composer using composer require lbhurtado/engagespark. Laravel package discovery should register the service provider automatically on supported versions. If the package ships a publishable config file, publish it with php artisan vendor:publish and select the engageSPARK provider tag.
- How do I configure engageSPARK credentials?
- Add your engageSPARK API credentials to the published config file or environment variables, and keep secrets out of version control. The package reads that configuration when making API calls, so each environment can point at its own account or sender settings. Clear cached config with php artisan config:clear after changes.
- Can I send SMS notifications using Laravel's notification system?
- The package is designed to make sending SMS via engageSPARK easy from Laravel, which typically means you can call it from a notification channel or a small service wrapper. Check the package README for the exact notification channel class or facade method to use in your Laravel version. If no channel is provided, wrap the package client in your own notification channel.
- Does it support receiving inbound SMS and delivery webhooks?
- Yes, the package overview covers receiving SMS and handling delivery webhooks from engageSPARK. You will expose a route in your Laravel app and point the engageSPARK webhook configuration at it, then verify and process the payload. Keep the handler idempotent because delivery callbacks can be retried.
- How do I manage contacts and groups with this package?
- The package exposes engageSPARK contact and group management through its PHP API, so you can create and organize recipients from Laravel. Typical usage is syncing users or segments into groups before sending a broadcast. Review the README for the exact methods and required fields in your installed version.
- How do I run broadcast campaigns through engageSPARK?
- You can run engageSPARK broadcast campaigns through the package's API instead of building the HTTP calls yourself. The usual flow is to prepare a contact group or recipient list, create the broadcast, and monitor delivery through webhooks or API status checks. Confirm method names and payload options against the README for your pinned version.
- Which Laravel and PHP versions are supported?
- Version support depends on the package's composer.json constraints, so check Packagist or the repository before committing to it. The package is aimed at Laravel applications and modern PHP, but the README excerpt does not list exact Laravel or PHP versions. Test on your target Laravel version and pin a compatible release in composer.json.
- How can I test SMS sending without hitting the engageSPARK API?
- Do not hit the live engageSPARK API in automated tests. Use Laravel's HTTP fake or mock the package client or service in the container so your tests assert the outgoing request or notification without sending real SMS. Keep a small integration test against a sandbox account if engageSPARK provides one.
- Is lbhurtado/engagespark production ready and well maintained?
- Treat it as a thin integration and review the repository activity, open issues, and release history before using it in production. Pin a specific version, monitor engageSPARK API changes, and wrap the client behind your own interface so you can swap providers later. If maintenance is a concern, compare it with alternatives such as Laravel's built-in HTTP client or other SMS notification packages.