Download the PHP package cutmeshort/sdk without Composer
On this page you can find all versions of the php package cutmeshort/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cutmeshort/sdk
More information about cutmeshort/sdk
Files in cutmeshort/sdk
Download cutmeshort/sdk
More information about cutmeshort/sdk
Files in cutmeshort/sdk
Vendor cutmeshort
Package sdk
Short Description Official CutMeShort CMS PHP SDK. This SDK allows tracking of leads and sales, including deferred lead attribution.
License MIT
Homepage https://www.cutmeshort.com
Package sdk
Short Description Official CutMeShort CMS PHP SDK. This SDK allows tracking of leads and sales, including deferred lead attribution.
License MIT
Homepage https://www.cutmeshort.com
Please rate this library. Is it a good library?
Informations about the package sdk
CutMeShort PHP SDK
Official PHP SDK for the CutMeShort CMS platform.
A SDK for tracking leads and sales events, including support for deferred lead attribution.
Features
- 🚀 Easy to use - Simple, intuitive API
- ✅ Type-safe - Leverages PHP 8.1+ features with proper typing
- 📊 Lead & Sales Tracking - Built-in support for both event types
- 🔄 Deferred Attribution - Support for first-click to customer association
- 🔐 Bearer Token Authentication - Secure API authentication
- ⚙️ Configurable - Flexible configuration options for different environments
- 📝 Well-documented - Comprehensive examples and documentation
Requirements
- PHP 8.1 or higher
- Composer (for dependency management)
- GuzzleHTTP 7.3+ (automatically installed via Composer)
Installation
Using Composer
Or add to your composer.json:
Then run:
Quick Start
Basic Usage
Track a Sale
Configuration
Basic Configuration
Advanced Configuration
Models
LeadPayload
Track lead generation events:
SalePayload
Track purchase/sale events:
Error Handling
The SDK throws SdkException for API errors:
Deferred Lead Attribution
For tracking first clicks and associating them with customers later:
Examples
See the examples/ directory for complete usage examples:
advanced_config.php- Advanced configuration options
Development
Code Standards
The SDK follows PSR-12 code standards. Format code with:
All versions of sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
The package cutmeshort/sdk contains the following files
Loading the files please wait ...