PHP Configuration Options
This section details the available configuration options for the PHP SDK. All configuration is managed in the gen.yaml file under the php section.
Version and general configuration
Method and parameter management
Security configuration
Import management
Import paths
Error and Response Handling
Laravel service provider
When a PHP SDK is used within a Laravel application, Speakeasy is able to generate the needed Service Provider
…all of Laravel’s core services, are bootstrapped via service providers.
But, what do we mean by “bootstrapped”? In general, we mean registering things, including registering service container bindings, event listeners, middleware, and even routes. Service providers are the central place to configure the application.
To enable the Laravel Service Provider generation, update the gen.yaml configuration setting enabled to true, and set svcName appropriately.
Laravel service provider configuration
Additional dependencies
Additional dependencies configuration
Last updated on