Download the PHP package datalinx/squalomail-php-sdk without Composer

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

PHP SDK for the SqualoMail API

Packagist PHP Version Support Packagist Version Packagist Downloads Tests Conventional Commits Packagist License

About

Disclaimer: This is not an official SDK.

With this package you can use the SqualoMail API in your PHP project.

See the changelog here.

Requirements

Installing

Download it with composer: `

Usage

Requests implementation

All API endpoints are specified here.
However, only the following are implemented in this package currently.

Request Notes
Create recipient
Get recipient
Get recipient's lists See the GetRecipientLists class docblock for explanation.
Update recipient You can provide either the recipient ID or the email. If you provide both, the email address for the matching recipient ID will be updated.
Delete recipient You can delete recipients only by ID, so fetch the ID with a GetRecipient request first.
Create list
Delete list
Get list See the GetList::send() method docblock for the response data
Get list recipients Does not support pagination
Get lists details
Subscribe by email This works only for recipients that are already created. If re-subscribing, also set the "accept" parameter to "true".
Unsubscribe by email The "accept" attribute on the recipient is updated considering how you configured it in SqualoMail settings (Slovenian: "Po kliku na povezavo za odjavo naj prejemnika odjavi od"). You can also send a boolean here to force a change, but it will be ignored when the setting is set to the third option (Slovenian: "Prejemanja katerihkoli sporočil v prihodnje").

Contributing

If you have some suggestions how to make this package better, please open an issue or even better, submit a pull request.

Should you want to contribute, please see the development guidelines in the DataLinx PHP package template.

Changelog

All notable changes to this project are automatically documented in the release-please GitHub action.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

For all this to work, commit messages must follow the Conventional commits specification, which is also enforced by a Git hook.

Developer documentation


All versions of squalomail-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-curl Version *
ext-json Version *
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 datalinx/squalomail-php-sdk contains the following files

Loading the files please wait ....