volt-test/php-sdk
A PHP SDK for integrating Volt Test into PHP and Laravel applications, offering a clean client for API requests, authentication, typed responses, and error handling so teams can add testing workflows quickly.
composer require --dev volt-test/php-sdk. Confirm the installed version with composer show volt-test/php-sdk.CHANGELOG, src/, and any examples/ or tests/ directory. Check composer.json for Laravel auto-discovery, a service provider, config publishing, and supported PHP/Laravel versions.php artisan vendor:publish --tag=volt-test-config
Configure VOLT_TEST_BASE_URL, credentials, default users/duration, and thresholds in .env.staging or .env.testing. If there is no config file, create a small app-level config wrapper and bind the SDK client in a service provider./up and the login flow, run from a dedicated Artisan command or isolated Pest/PHPUnit group. Start with a small number of virtual users and a short duration, assert HTTP status and error rate, and print a compact result summary. Use this before releases rather than in the default unit-test suite.app/Console/Commands/VoltSmoke.php or a separate test suite tagged performance. Keep it out of the normal php artisan test path:
php artisan volt:smoke --env=staging --users=10 --duration=30s
php artisan config:clear or rebuild the config cache. A stale cached config is a common source of “it tested the wrong URL” bugs.APP_DEBUG=true, query logging, Telescope, and Debugbar add overhead. Match the target’s production configuration as closely as possible.How can I help you explore Laravel packages today?