Download the PHP package bentonow/bento-php-sdk without Composer
On this page you can find all versions of the php package bentonow/bento-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bentonow/bento-php-sdk
More information about bentonow/bento-php-sdk
Files in bentonow/bento-php-sdk
Package bento-php-sdk
Short Description 🍱 Bento PHP SDK and tracking library
License MIT
Homepage https://github.com/bentonow/bento-php-sdk
Informations about the package bento-php-sdk
Bento PHP SDK

[!TIP] Need help? Join our Discord or email [email protected] for personalized support.
The Bento PHP SDK makes it quick and easy to build an excellent analytics experience in your PHP application. We provide powerful and customizable APIs that can be used out-of-the-box to track your users' behavior, manage subscribers, and send emails. We also expose low-level APIs so that you can build fully custom experiences.
Get started with our 📚 integration guides, or 📘 browse the SDK reference.
❤️ Thank you @cavel (in Discord) from GuitarCreative for your contribution to the Laravel documentation (which lead to the creation of our new official Laravel SDK).
Table of contents
- Features
- Requirements
- Getting started
- Installation
- Configuration
- Modules
- Type Reference
- Things to Know
- Contributing
- License
Features
- Simple event tracking: We make it easy for you to track user events and behavior in your application.
- Subscriber management: Easily add, update, and remove subscribers from your Bento account.
- Custom fields: Track and update custom fields for your subscribers to store additional data.
- Purchase tracking: Monitor customer purchases and calculate lifetime value (LTV) for your subscribers.
- Batch operations: Perform bulk imports of subscribers and events for efficient data management.
- Email validation: Validate email addresses to ensure data quality.
Requirements
The Bento PHP SDK requires PHP 7.4+ and Composer.
Bento Account for a valid SITE_UUID, BENTO_PUBLISHABLE_KEY & BENTO_SECRET_KEY.
Getting started
Installation
Install the Bento SDK using Composer:
Configuration
Initialize the Bento client:
Modules
Analytics (Base Module)
Track events and manage subscribers.
Tag a Subscriber
Add a Subscriber
Remove a Subscriber
Update Fields
Track Purchase
Track Event
Batch
Import Subscribers
Import Events
Commands
Add Tag
Remove Tag
Add Field
Remove Field
Subscribe
Unsubscribe
Events
Create Event
Experimental
Validate Email
Guess Gender
Geolocate
Check Blacklist
Fields
Get Fields
Create Field
Forms
Get Form Responses
Subscribers
Get Subscriber
Create Subscriber
Tags
Get Tags
Create Tag
Types Reference
For a detailed reference of the types used in the Bento PHP SDK, please refer to the Types Reference section in the full documentation.
Things to Know
- All events must be identified with an email address.
- Most events are indexed within seconds in your Bento account.
- Batch operations are available for importing subscribers and events efficiently.
- The SDK provides seamless integration with Laravel applications.
- Email validation and experimental features are available for advanced use cases.
Contributing
We welcome contributions! Please see our contributing guidelines for details on how to submit pull requests, report issues, and suggest improvements.
License
The Bento SDK for PHP is available as open source under the terms of the MIT License.
All versions of bento-php-sdk with dependencies
guzzlehttp/guzzle Version ^7.8
guzzlehttp/test-server Version ^0.1.0