toplan/phpsms
PHP SMS toolkit for Laravel and standalone apps with a unified API, multiple gateway drivers, templates, and simple configuration. Send, queue, and manage SMS messages reliably through popular providers.
toplan/phpsms is an SMS gateway abstraction library, not a domain service. It can fit Laravel as an infrastructure adapter behind an application-owned SmsSender interface. It should not leak its facade, gateway classes, or response objects into controllers/domain code. Its multi-gateway model is useful only if the specific providers are still viable and maintained.PhpSms/facade calls, define a stable SmsSender interface, implement a ToplanPhpSmsAdapter, add contract tests for each gateway, pin the exact version or fork it, and replace direct facade usage with dependency injection. Move sends into queued jobs and add a fallback provider before expanding usage.composer.json PHP constraints, illuminate/support constraints, gateway SDK conflicts, PSR-4 autoloading, and Laravel package discovery. If Laravel 8+ auto-discovery or PHP 8 support is absent, fork the service provider/bindings or register manually. Do not rely on suppressing deprecations in production.How can I help you explore Laravel packages today?