Requires PHP 7.4+,
ext-curl, and ext-jsonInstallation
Install using Composer:Vanilla PHP
Initialize the client, passing the API Key.Framework Integrations
Laravel
Laravel
Use the provided Service Provider by placing In Update your Usage in Controller
SendSculptServiceProvider.php in your app/Providers directory.In config/app.php, add the provider to the providers array:config/services.php, append the following:.env file:CodeIgniter 4
CodeIgniter 4
Inject it within your BaseController or explicitly initialize it.
Symfony
Symfony
Register Usage in Controller
SendSculptClient as a service in config/services.yaml: