Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Flasher Noty Laravel Package

php-flasher/flasher-noty

View on GitHub
Deep Wiki
Context7

PHPFlasher Noty Adapter (Prime)

Latest Version Total Downloads License

Noty adapter for PHPFlasher. Feature-rich notification library with queue support.

Requirements

  • PHP >= 8.2
  • PHPFlasher ^2.5.1

Installation

composer require php-flasher/flasher-noty

Quick Start

// Basic usage
noty('Operation completed successfully!', 'success');
noty('An error occurred.', 'error');
noty('Information message.', 'info');
noty('Warning message.', 'warning');

// With options
noty('Success message', 'success', [
    'timeout' => 3000,
    'layout' => 'topCenter',
    'progressBar' => true,
]);

// Custom notification
noty('Custom message', 'custom-type');

Features

  • Simple API: success(), error(), info(), warning(), flash()
  • Noty Options: layout, theme, timeout, progressBar, closeWith
  • Queue Support: Named queue system for notification ordering
  • Type Safety: Full PHP type hints and PHPStan support
  • Helper Functions: Global noty() helper for quick access

Available Methods

// Success notification
noty($message, 'success', $options, $title);

// Error notification
noty($message, 'error', $options, $title);

// Info notification
noty($message, 'info', $options, $title);

// Warning notification
noty($message, 'warning', $options, $title);

// Custom notification type
noty($message, $type, $options, $title);

// With options
noty($message, 'success', [
    'layout' => 'topCenter',
    'timeout' => 3000,
    'theme' => 'mint',
], $title);

Documentation

Complete documentation: php-flasher.io

License

MIT

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
amashukov/lnd-client-php
althinect/enum-permission
andydefer/laravel-actions
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor