- Can I use this package directly in Laravel without Symfony Notifier?
- No, this package requires Symfony Notifier as a dependency. If your Laravel app doesn’t use Symfony Notifier, you’ll need to either adopt it or wrap the bridge in a custom Laravel Notification Channel (recommended for cleaner integration).
- What Laravel versions support this package?
- This package requires PHP 8.4+, which aligns with Laravel 10+. If you’re on Laravel 9 or earlier, you’ll need to upgrade PHP or use a different SMS provider with broader Laravel support.
- How do I configure IQSMS credentials in Laravel?
- Add the DSN to your `.env` file: `IQSMS_DSN=iqsms://LOGIN:PASSWORD@default?from=SenderName`. Replace `LOGIN`, `PASSWORD`, and `from` with your IQSMS credentials and sender ID. Ensure the DSN is also registered in Symfony Notifier’s configuration.
- Does this package support Unicode or non-Russian phone numbers?
- IQSMS may have regional or encoding limitations—check their [official documentation](https://iqsms.ru) for supported languages and Unicode handling. If your use case requires global SMS, consider alternatives like Twilio or AWS SNS.
- How do I handle SMS delivery failures or retries?
- Symfony Notifier supports retry logic via transport configuration. For Laravel, extend the custom channel to implement fallback mechanisms (e.g., logging failures or switching to email). IQSMS may also offer webhooks for delivery status updates.
- Is there a Laravel-specific guide for integrating this package?
- No, the package is Symfony-focused. You’ll need to create a custom Laravel Notification Channel (e.g., `IqsmsChannel`) that bridges Symfony Notifier and Laravel’s notification system. Example code is available in the TPM assessment above.
- What are the costs of using IQSMS compared to alternatives like Twilio?
- IQSMS pricing depends on volume and destination. Compare their [tariffs](https://iqsms.ru/tariffs/) with Twilio or AWS SNS. For high-volume apps, calculate costs per SMS and factor in potential rate limits or regional restrictions.
- Can I track SMS delivery status in real time?
- IQSMS may require polling for status updates (e.g., via their API). Symfony Notifier doesn’t natively support real-time webhooks, so you’d need to implement a separate service to check delivery status periodically or use IQSMS’s callback URLs.
- Are there any known limitations or edge cases with this package?
- The package has low GitHub activity (4 stars), so edge cases may be undocumented. Test thoroughly for character limits, rate limits, and regional restrictions. Consider adding a dead-letter queue for failed SMS attempts.
- What’s the best alternative if I can’t use Symfony Notifier in Laravel?
- Use Laravel’s built-in SMS channels (e.g., `nexmo`, `vonage`) or third-party packages like `laravel-notification-channels/sms`. These integrate natively without requiring Symfony dependencies and offer broader Laravel support.