Download the PHP package luizfabianonogueira/sse-notify without Composer

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

SSE-NOTIFY

Description

If you’re developing with Laravel and looking for an effective way to interact with your users in real time, your solution is here! With [Sse-Notify], you can:

💡 Real-Time Notifications

Leverage the power of SSE (Server-Sent Events) to effortlessly send notifications from the server to the client, ensuring a smooth, real-time user experience!

🔔 Multiple Notification Options

Choose from various styles and modes of notification:

🎯 Infinite Flexibility

With support for dynamic HTML and JavaScript injection, the possibilities are literally endless! Create unique and personalized interactions tailored to your project and user needs.

⚙️ Easy Integration

[Sse-Notify] is simple to integrate with your Laravel project. Just install the package and start harnessing the power of SSE communication to elevate your user notifications.

👉 Ready to transform how you interact with your users?

Try [Sse-Notify] and discover how easy it is to take your notifications to the next level!

Requirements

PHP 8.2 or higher \ Laravel 10.0 or higher \ User table with id uuid column \ Active authentication system \ Active uuid extension in database

Installation

After installation, register the service provider.\

In bootstrap/providers.php.

After that you must publish the migration and js file.

Attention: the sse.js file will be exported to public/assets/js/sse.js. \ If you use Vite or similar tools, configure js correctly to be loaded.

Execute the migration to create the table that will store the notifications.

Now we need to configure the communication channel.

In the view you chose to have the channel open, insert the following code.

Testing

To run a user test, simply access the following url

yourdomain.com/sse/generateFakeData/{userId}

Usage Example

..::|| javaScript alert() ||::..

..::|| SweetAlert2 ||::..

..::|| Bootstrap Notify ||::..

..::|| Bootstrap TOAST ||::..

..::|| INJECTION HTML ||::..

..::|| INJECTION SCRIPT ||::..

After saving, the system sends the notification to the target user. \ Each notification has a 3 seconds interval between them. \ If you don't have notifications, the next check is in 10 seconds.

License: LGPL-3.0-or-later



Contact & Support

LinkedIn WhatsApp GitHub Packagist

📞 Phone: +5548991779088
✉️ Email: [email protected]


Support My Work

If you enjoyed this project and would like to support my work, any donation via Pix is greatly appreciated!
Feel free to donate using one of the following Pix keys:

💳 Email Pix Key: [email protected]
📱 Phone Pix Key: 48991779088

Thank you for your support!


All versions of sse-notify with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
laravel/framework Version >=v10.0.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 luizfabianonogueira/sse-notify contains the following files

Loading the files please wait ....