Download the PHP package notideus/notideus-php without Composer

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

notideus-php

Official PHP SDK for the Notideus email API. MIT licensed.

Requires PHP 8.2+. Built on Guzzle — responses are plain associative arrays, so payloads from the API reference work verbatim.

Install

Quickstart

Configuration

Option Type Default Notes
apiKey ?string (1st constructor arg) null omit for unauthenticated resources
base_url string https://api.notideus.io override for self-hosting
timeout float (seconds) 30.0 request timeout
max_retries int 2 see Retry behavior below
handler callable|HandlerStack|null Guzzle default stack inject a custom Guzzle handler

The key is optional: plans() and unsubscribe() work without one. Calling an authenticated resource without a key surfaces the API's 401 as a NotideusException.

Resources

Params and responses use snake_case exactly like the API.

Emails

WhatsApp messages

send returns one entry per recipient: [['id' => …, 'to' => …, 'status' => …]].

Contacts

Hosted unsubscribe (token-based, unauthenticated)

Plans (unauthenticated)

Error handling

Request-level failures throw Notideus\NotideusException:

Batch sends never throw per item — inspect the results instead:

A whole-batch failure (401, 402 quota_exceeded, 400 batch_too_large) still throws.

Retry behavior

The SDK retries network errors, 5xx and 429 (honoring Retry-After) with exponential backoff — but only idempotent requests: reads/writes other than POST, and sends that include an idempotency_key (matching the API's replay semantics, so a retried send never double-sends). Set max_retries: 0 to disable.

Self-hosting / local development

Development

Releasing

  1. Update version in composer.json and merge to main.
  2. Create a GitHub Release with tag v<version> — it must match composer.json, the publish workflow verifies this and fails otherwise.
  3. The publish workflow runs the full gate (composer install, lint, stan, test). There is no publish step and no secrets at all: Packagist auto-updates the package from the release tag.
  4. One-time setup: submit the repository on packagist.org (GitHub hook or manual "Update" enables auto-sync from tags). Unlike npm, Packagist has no registry-existence prerequisite — the very first release can go straight through the workflow.

All versions of notideus-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-json Version *
guzzlehttp/guzzle Version ^7.8
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 notideus/notideus-php contains the following files

Loading the files please wait ...