Download the PHP package usenoty/noty-laravel without Composer

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

Noty Laravel

Latest Version License Tests PHP Version Laravel Version

A non-blocking notification channel for Laravel that sends events to Noty API. Perfect for tracking user activities, application events, and telemetry data without impacting your app's performance.

โœจ Features

๐Ÿ“ฆ Installation

Install via Composer:

Publish the configuration file:

โš™๏ธ Configuration

Set your Noty API credentials in .env:

๐Ÿš€ Quick Start

Method 1: Using NotyMessage (Recommended)

The NotyMessage class provides a fluent, type-safe API:

Method 2: Using Laravel Notifications

Create a notification class:

Send the notification:

Method 3: Using captureEvent (Like Sentry)

Or using the helper function:

๐Ÿ“‹ NotyMessage API Reference

Basic Usage

Priority Constants

Actions

Tags

Emojis

๐Ÿ”ง Channel Configuration

Named Channels (Recommended)

Define channel names in .env:

Use in code:

Direct Channel IDs

๐Ÿš€ Transport Options

HTTP Transport (Default)

Events are sent asynchronously via HTTP after the response is sent to the user.

Queue Transport

For high-volume applications, use queue transport:

๐Ÿ“Š Event Data Structure

Events are sent to the Noty API with the following structure:

๐Ÿ”„ How It Works

  1. Non-Blocking: When you call captureEvent(), the event is queued but not sent immediately
  2. Async Requests: HTTP requests are made asynchronously using Guzzle promises
  3. Auto-Flush: After Laravel sends the response, pending events are flushed in the background
  4. Fail-Silent: If the Noty API is unreachable, your app continues working normally

๐Ÿ“ Complete Example

๐ŸŽฏ When to Use Each Method

๐Ÿ“‹ Requirements

๐Ÿ”„ Supported Versions

Laravel PHP Status
12.x 8.2+ โœ… Active
11.x 8.2+ โœ… Active
10.x 8.2+ โœ… Active
9.x โ€” โŒ Unsupported
8.x โ€” โŒ Unsupported

๐Ÿงช Testing

This package is continuously tested with:

Running Tests

๐Ÿ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.


Made with โค๏ธ for Laravel developers


All versions of noty-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3|^8.4
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/notifications Version ^10.0|^11.0|^12.0
illuminate/queue Version ^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.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 usenoty/noty-laravel contains the following files

Loading the files please wait ...