Download the PHP package obsidiane/notifuse-symfony-bundle without Composer

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

Notifuse Symfony Bundle

Symfony bundle to integrate the Notifuse API in your application. It focuses on:

The bundle does not hide Symfony’s HttpClient. Instead, it applies the base URL, headers and common options for you, and gives you escape hatches to pass per‑request options when needed.

How It Works

Installation

Install from your application root:

If you are not using Symfony Flex auto‑registration, enable the bundle in the kernel:

Configuration

Recommended configuration workflow:

Option reference:

API Usage

Inject Service\ApiClient and call request($method, $endpoint, $options = []). The $endpoint is appended to api_base_url.

Error handling: network/HTTP client errors are wrapped in Service\Exception\NotifuseClientException with the original exception as previous. Catch it at your boundary if you want to map to domain errors.

Endpoint Helpers

The ApiClient exposes convenience methods for all Notifuse endpoints:

Examples:

Embedding the Notification Center

The UI embed is not handled by this bundle. Include Notifuse’s front-end script directly where you need the Notification Center.

HTTP Client Options

Global defaults are provided via notifuse.http_client_options. You can still override on each call via $options in ApiClient::request().

Common examples:

Compatibility

Services Summary

Service ID Class Description
Obsidiane\Notifuse\ApiClient Service\ApiClient Authenticated requests to the Notifuse API.

CI, Releases and Composer Registry

The pipeline validates the package on all branches. Releases are handled by GitHub Actions when pushing to master or when a tag is pushed.

See .github/workflows/ci.yml and .github/workflows/release.yml for the exact flow.

Testing

This bundle does not ship with its own test-suite. When writing tests in your application, you can mock HttpClientInterface and assert:


All versions of notifuse-symfony-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
symfony/framework-bundle Version ^7.3
symfony/http-client Version ^7.3
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 obsidiane/notifuse-symfony-bundle contains the following files

Loading the files please wait ...