laravel_echo_null
0.3.0, released 9 months ago by an unverified publisher
Laravel Echo implementation for Flutter supporting Socket.io and Pusher
What it does
Provides Laravel Echo broadcasting capabilities in Flutter. Supports public, private, encrypted private, and presence channels using Socket.io or Pusher connectors.
AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Your Flutter app needs to connect to a Laravel backend broadcasting system
- You want to listen to WebSockets via Socket.io or Pusher in Flutter
Skip it when
- You do not use a Laravel backend or broadcasting server
- You only need standard REST or GraphQL API calls without broadcasting channels
Strengths
- Supports multiple channel types including public, private, and presence channels
- Supports both Socket.io and Pusher connectors
Weaknesses
- Requires specific companion npm packages and configuration on the server side
- Limited to Laravel broadcasting features
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 4
Requires adding pubspec dependencies for socket_io_client and pusher_client_socket, and optionally installing the fixed-laravel-echo-server via npm on the server side.
Echo<IO.Socket, SocketIoChannel> echo = Echo.socket(
'http://localhost:6001',
nameSpace: 'nameSpace',
autoConnect: false,
);
Channel publicChannel = echo.channel('my-channel');
publicChannel.listen('MyEvent', (data) {
print(data);
});Alternatives
Packages that do the same job and could replace laravel_echo_null.
- pusher_reverb_flutter
A Flutter Pusher client for Laravel Reverb with custom paths and dynamic headers.
67Compare - coingecko_api
Dart package providing simple access to the CoinGecko API (Version 3).
46Compare
Works with
Packages commonly used together with laravel_echo_null: ones it builds on, ones built on it, and its own family.
- socket_io_clientlaravel_echo_null depends on itDartlang port of socket.io-client for web, flutter, and dartvm
- pinenacllaravel_echo_null depends on itDart implementation of TweetNaCl cryptographic library with high-level APIs
- pusher_client_socketlaravel_echo_null depends on itConnect to a Pusher server using WebSockets across all platforms.