vonage/symfony
Symfony bundle that integrates the Vonage PHP SDK, wiring the client into Symfony's service container so you can send SMS, make voice calls, verify numbers, and use Vonage APIs with simple configuration and dependency injection.
vonage/client (the Vonage PHP SDK) in a Symfony DI container and expose bundle configuration. Laravel does not use the Symfony bundle system; it has its own container, Illuminate\Support\ServiceProvider bootstrapping, and package discovery. The bundle's Bundle class, extension, and services.yaml wiring will not execute in a Laravel app. Architectural fit with Laravel is effectively zero — this is a Symfony-only convenience wrapper.composer require vonage/symfony in a Laravel project and get a working client. The reusable value in Laravel is the config shape and a few constructor patterns, which are trivially reimplemented. The realistic path is to depend on vonage/client directly and write a small service provider.vonage/client release line is sufficient.Illuminate\Support\ServiceProvider and composer.json extra.laravel, not Symfony\Component\HttpKernel\Bundle\Bundle. Bundle config merging and services.yaml autowiring do not run. Treat this package as reference material, not a dependency.vonage/client (maintained by Vonage, aligned to current API). Add a VonageServiceProvider that:
config/vonage.php (API key/secret, application ID, private key path, optional HTTP client settings),Vonage\Client with Vonage\Client\Credentials\Basic (and Keypair where application-based APIs are used),php artisan vendor:publish for config and documents required .env keys.
Hide the SDK behind an internal interface (e.g., SmsSender) so a future vendor swap is contained to one class.vonage/client constraints against the target PHP and Laravel versions before anything else. Do not install the Symfony bundle into a Laravel app; its Composer requirements are the most likely source of dependency conflicts and it provides no runtime benefit there. If the target truly is Symfony, evaluate the bundle's pinned SDK range and whether a maintained fork or direct SDK wiring is safer.vonage/client in a scratch Laravel app and prove one API call through the adapter interface.php artisan config:cache must not break credential resolution).How can I help you explore Laravel packages today?