Download the PHP package saurabhpunia/notifyx without Composer

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

🔔 Notifyx - Laravel Notification System

A simple and powerful notification system for Laravel applications. Send notifications to users and display them beautifully with real-time updates.

📋 What Does This Package Do?

🎯 Quick Demo

After installation, you can send a notification like this:

And display notifications in your layout:

📦 Installation

Step 1: Install the Package

Step 2: Publish and Run Migrations

Step 3: Publish Configuration

Step 4: Add Trait to User Model

Open your app/Models/User.php file and add the trait:

Step 5: Add to Your Layout

Add the notification bell to your main layout file:

⚙️ Configuration

Basic Setup

The package comes with sensible defaults. You can customize notification types in config/notifyx.php:

Multi-tenant Applications

If your app has multiple tenants/teams, enable multi-tenancy:

🚀 How to Use

Sending Notifications

Simple Notification

Notification with Title

Notification with Type

Notification with Action Button

Notification via Multiple Channels

Using the Facade

You can also use the Notifyx facade:

Display Components

Notification Bell (with dropdown)

This shows a bell icon with unread count and dropdown with recent notifications.

Full Notification Page

Create a route and view for the full notification page:

User Preferences Page

Let users customize their notification preferences:

📱 Frontend Features

Real-time Updates

If you have Laravel Echo setup for broadcasting, notifications will appear in real-time without page refresh.

SPA-like Experience

All interactions (marking as read, deleting, etc.) happen without page reloads using Livewire.

User Preferences

Users can control:

🎨 Customization

Custom Views

Publish the views to customize the appearance:

Views will be published to resources/views/vendor/notifyx/.

Custom Notification Types

Add your own notification types in the config:

🔧 Advanced Usage

Get User Notifications

Check User Preferences

📊 Database Tables

The package creates these tables:

🔍 Troubleshooting

Notifications Not Appearing

  1. Check if the trait is added to your User model
  2. Make sure migrations ran with php artisan migrate
  3. Clear cache with php artisan config:clear

Real-time Not Working

  1. Setup Laravel Echo for broadcasting
  2. Configure broadcasting driver (Pusher, Redis, etc.)
  3. Check broadcast channel permissions

Styling Issues

  1. Make sure Tailwind CSS is included in your project
  2. Publish views and customize if needed
  3. Check for CSS conflicts with your existing styles

📝 Requirements

🤝 Support

For issues or questions:

  1. Check the troubleshooting section above
  2. Create an issue if you find a bug

📄 License

This package is open-source software licensed under the MIT license.


🎉 That's It!

You now have a complete notification system in your Laravel app. Users can receive notifications, view them in a beautiful interface, and customize their preferences. The system works great for both simple websites and complex multi-tenant applications.

Happy coding! 🚀


All versions of notifyx with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^10.0|^11.0|^12.0
livewire/livewire Version ^3.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 saurabhpunia/notifyx contains the following files

Loading the files please wait ...