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

On this page you can find all versions of the php package bentonow/bento-laravel-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-laravel-sdk

Bento Laravel SDK

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

The Bento Laravel SDK makes it quick and easy to send emails and track events in your Laravel applications. We provide powerful and customizable APIs that can be used out-of-the-box to manage subscribers, track events, and send transactional 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.

🐶 Battle-tested by High Performance SQLite (a Bento customer)!

❤️ Thank you @aarondfrancis for your contribution.

❤️ Thank you @ziptied for your contribution.

Tests

Table of contents

Features

Requirements

Getting started

Installation

Install the package via Composer:

Configuration

  1. Publish the configuration file:

  2. Add a new mailer definition in config/mail.php:

  3. Add your Bento API keys to your .env file:

Modules

Event Tracking

Track custom events in your application:

Subscriber Management

Import subscribers into your Bento account:

Find Subscriber

Search your site for a subscriber:

Create Subscriber

Creates a subscriber in your account and queues them for indexing:

Run Command

Execute a command and change a subscriber's data:

Get Tags

Returns a list of tags in your account:

Create Tag

Creates a custom tag in your account:

Get Fields

The field model is a simple named key value pair, think of it as a form field:

Create Field

Creates a custom field in your account:

Get Broadcasts

Returns a list of broadcasts in your account:

Create Broadcasts

Create new broadcasts to be sent:

Get Site Stats

Returns a list of site stats:

Get Segment Stats

Returns a list of a segments stats:

Get Report Stats

Returns an object containing data for a specific report:

Search Blacklists

Validates the IP or domain name with industry email reputation services to check for delivery issues:

Validate Email

Validates the email address using the provided information to infer its validity:

Moderate Content

An opinionated Content moderation:

Guess Gender

Guess a subscriber's gender using their first and last name. Best for US users; based on US Census Data:

Geolocate Ip Address

This endpoint attempts to geolocate the provided IP address:

Things to Know

  1. The SDK integrates seamlessly with Laravel's mail system for sending transactional emails.
  2. For event tracking and data importing, use the BentoConnector class.
  3. All API requests are made using strongly-typed request classes for better type safety.
  4. The SDK supports Laravel's environment-based configuration for easy setup across different environments.
  5. For signed emails with return urls, please assign the bento.signature middleware or the BentoSignatureExclusion::class. This must be before the signed middleware to remove all utm and tracking url params.
  6. Bento does not support no-reply sender addresses for transactional emails. You MUST use an author you have configured as your sender address.
  7. For more advanced usage, refer to the Bento API Documentation.

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 Laravel is available as open source under the terms of the MIT License.


All versions of bento-laravel-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
saloonphp/saloon Version ^v3.11.2
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-laravel-sdk contains the following files

Loading the files please wait ....