Download the PHP package bentonow/bento-statamic-sdk without Composer

On this page you can find all versions of the php package bentonow/bento-statamic-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bento-statamic-sdk

Bento Statamic Addon

[!TIP] Need help? Join our Discord or email [email protected] for personalized support.

The Bento Statamic Addon makes it quick and easy to send emails and track events in your Statamic applications. We provide powerful and customizable APIs that can be used out-of-the-box to manage subscribers, track events, and send transactional emails through your Statamic Control Panel.

Get started with our 📚 integration guides, or 📘 browse the SDK reference.

Features

Requirements

Installation

  1. Install the package via Composer:

  2. Publish the configuration file and assets:

Configuration

  1. Access the Bento configuration page in your Statamic Control Panel under Tools > Bento

  2. Enter your Bento credentials:

    • Site UUID
    • Publishable Key
    • Secret Key

    You can find these at app.bentonow.com/account/teams

  3. Configure your email settings:

    • Select an author from your Bento account
    • Send a test email to verify your configuration
  4. Alternatively, you can configure Bento through your .env file:

Advanced Features

User Registration Tracking

Control automatic user registration tracking in Bento:

User Synchronization Tags

When automatic user synchronization is enabled, you can configure default tags that will be automatically applied to new users when they are synchronized with Bento:

Configuration Steps:

  1. Navigate to Tools > Bento > Advanced Settings
  2. Enable "Automatic User Sync"
  3. Under the sync settings, use the tag selector to add default tags
  4. Selected tags will automatically be applied to all new user registrations

Example Usage:

If you've selected tags like "new-user" and "needs-onboarding", when a new user registers:

This feature allows you to automatically segment new users without any additional configuration.

Frontend Tracking Script

Manage Bento's JavaScript tracking integration:

Custom Events Management

Create and manage custom events for Bento automation:

Form Event Integration

Connect Statamic forms with Bento events:

Example form event workflow:

  1. Create a custom event in the CP (e.g., "Newsletter Signup")
  2. Associate the event with a Statamic form
  3. When the form is submitted:
    • Event is automatically triggered in Bento
    • Form data is sent as event properties
    • Triggers any associated Bento automations

Automatic Features

User Registration Tracking

The addon automatically tracks new user registrations in Bento:

Email Integration

Once configured, the addon:

Things to Know

  1. Email Limitations:

    • Bento does not support email attachments
    • No-reply sender addresses are not supported
  2. Rate Limits:

    • The Bento Transactional Email API is designed for low-volume emails
    • Use for password resets, form notifications, etc.
    • Not suitable for newsletter or bulk email sending
  3. Author Configuration:

    • You must use an authorized Bento author as your sender address
    • Authors can be configured through the CP interface
  4. Environment Handling:
    • Configuration changes update your .env file
    • Cache is automatically cleared after configuration updates
    • Runtime configuration is updated immediately

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run the tests
  5. Submit a pull request

For major changes, please open an issue first to discuss what you would like to change.

License

The Bento Statamic Addon is open-sourced software licensed under the MIT license.


All versions of bento-statamic-sdk with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^5.0
bentonow/bento-laravel-sdk Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bentonow/bento-statamic-sdk contains the following files

Loading the files please wait ....