Laravel Packages

Basement Chat is a real-time chat widget package

Published
Basement Chat is a real-time chat widget package image

Basement Chat is a package for Laravel that offers real-time chat widget package for your Laravel application with flexible broadcast driver support. Built for Laravel using PHP, TypeScript, Alpine.js, and Tailwind CSS, it provides broadcast notifications for logged-in users:

Once you've installed this package and configured the User model to have the ability to receive private messages, you can include this chat widget with the provided blade component (assuming this view is rendered for an already logged-in user):

<body>
{{-- ... --}}
 
<x-basement::chat-box />
</body>

This package supports PHP +8.0 and Laravel >= 9.x. On the client-side, it supports chrome >= 80, edge >= 80, firefox >= 74, and you can use it with various CSS frameworks without any styling conflicts. According to the package's readme the main features include:

  • Real-time messages
  • User's online status
  • User's typing indicator
  • Messages have been read status
  • Configurable push notifications from the client side
  • Searchable contacts and messages
  • Extendable and customizable actions behavior
  • Lazy loading with infinite scroll messages
  • Intuitive and attractive design using TailwindCSS and Alpine.js
  • Can be used with various CSS frontend frameworks such as Bootstrap and TailwindCSS without worrying about style conflicts
  • Flexible broadcast driver support for Pusher, Ably, Soketi, Laravel Websockets, or any other Laravel supported broadcast driver, it's up to you to decide.

This package is highly customizable, including the ability to provide chat features to specific users, customize styles and views, and more. Check out the readme for details.

You can learn more about this package, get full installation instructions, and view the source code on GitHub.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article
Statamic Mailables Viewer Previews Laravel Emails in the Control Panel image

Statamic Mailables Viewer Previews Laravel Emails in the Control Panel

Read article
Laravel Tackle: Run an AI Coding Agent in Your Laravel App image

Laravel Tackle: Run an AI Coding Agent in Your Laravel App

Read article
Queue::forward(): Reroute Laravel Queues in One Place image

Queue::forward(): Reroute Laravel Queues in One Place

Read article
Laravel Read-Through Filesystem: Lazy Storage Migration image

Laravel Read-Through Filesystem: Lazy Storage Migration

Read article