Bitstamp provides REST APIs that you can use to interact with platform programmatically.
This API client will help you interact with Bitstamp by REST API.
MIT License
To create new endpoint - create issue or create pull request
composer require madmis/bitstamp-api
To run the tests, you'll need to install phpunit. Easiest way to do this is through composer.
composer install
php vendor/bin/phpunit -c phpunit.xml.dist