Search packages, repositories and app categories

Package detailsv0.8.0

phoenix_socket

PhoenixSocket provides a feature-complete implementation of Phoenix Sockets, using a single API based on StreamChannels compatible with any deployment of Flutter.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
11.7K
Likes
58
Pub points
150

Install package

flutter pub add phoenix_socket

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

PhoenixSocket is a Dart package that offers a complete implementation of Phoenix Sockets, enabling real-time communication in Flutter apps through a unified StreamChannel-based API. It seamlessly integrates with any Phoenix server deployment and supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. Designed for reliability and ease of use, it allows developers to build reactive, live-updating applications with minimal setup. The package ensures consistent behavior across environments while maintaining compatibility with existing Phoenix ecosystems.

Use cases

  • Real-time chat applications
  • Live data dashboards
  • Multiplayer game synchronization
  • Push notifications
  • Collaborative editing tools

Key features

  • StreamChannel-based API
  • Cross-platform support
  • Phoenix server compatibility
  • Reconnection handling
  • Event-driven architecture

Suitable for

  • Real-time app development
  • Flutter apps using Phoenix backend
  • Apps requiring low-latency updates
  • Developers familiar with Phoenix framework
  • Projects targeting multiple platforms

Considerations

  • Requires a running Phoenix server
  • May need additional error handling for production
  • Depends on external WebSocket infrastructure
  • Not suitable for non-Phoenix backends
  • Limited to use cases needing bidirectional real-time communication

Categories

Dependencies

Dependency list 3 items

Projects using this package