Download the PHP package spartera/api-sdk without Composer
On this page you can find all versions of the php package spartera/api-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package api-sdk
PHP SDK Documentation
Overview
The PHP SDK for Spartera API provides a convenient way to interact with the Spartera platform from PHP applications.
Install: composer require spartera/api-sdk
Requirements
- PHP 7.4 or higher
- Composer
🚀 Sell Your First Data Product in 4 API Calls
Transform your data into revenue in under 5 minutes! Here's how to create and sell a data product on the Spartera marketplace:
That's it! You're now selling data analytics. Every time someone runs your analysis, you earn money!
🎯 What You Just Built
- Data Connection: Secure link to your BigQuery warehouse
- Analytics Product: Temperature analysis that buyers can purchase
- Marketplace Listing: Your product is discoverable by thousands of potential customers
- Automated Pricing: Credits are calculated automatically based on your USD price
💰 Revenue Model
- You set the price ($2.00 in this example)
- Customers pay in credits (auto-converted)
- You earn revenue each time someone uses your analytics
- Spartera handles billing, payments, and customer support
📚 Detailed Documentation
Authentication
Get your API key from the Spartera Dashboard:
Environment Variables
Connection Types
Create connections to different data platforms:
Asset Types
Create different types of marketplace products:
Pricing Strategies
Set different pricing models:
Marketplace Management
Manage your products after launch:
Error Handling
Advanced Features
Laravel Integration
For Laravel applications:
WordPress Integration
For WordPress plugins:
Package Manager
- Platform: Packagist/Composer
- Install:
composer require spartera/api-sdk
- Import:
use SparteraApiSdk\ApiClient;
Publishing
- Tag:
git tag v1.0.0
- Push:
git push origin v1.0.0
- Submit to Packagist (first time only)
- Install:
composer require spartera/api-sdk
All versions of api-sdk with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.0