Download the PHP package soketi/echo-server-core without Composer
On this page you can find all versions of the php package soketi/echo-server-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download soketi/echo-server-core
More information about soketi/echo-server-core
Files in soketi/echo-server-core
Package echo-server-core
Short Description Echo Server Core is a Laravel utility package used for Socket.IO-based Echo Server application.
License Apache-2.0
Homepage https://github.com/soketi/echo-server-core
Informations about the package echo-server-core
The application is now deprecated (security issues-only)
It will not receive any new feature updates. Please consider using soketi/pws, an all-in-one Pusher server equivalent for Echo Server that is written in C and ported to Node.js by the awesome guys at uNetworking/uWebSockets.js.
This application had implementation flaws by using both Pusher and Socket.IO and was a really bad idea. The versions before the deprecation announcement are still working and available for you to use.
Echo Server Core
Echo Server Core is a Laravel utility package used for Socket.IO-based Echo Server application.
This package is meant to be used with soketi/echo-server, a fork of Laravel Echo Server, to give a better robustness to the app managers.
🤝 Supporting
Renoki Co. on GitHub aims on bringing a lot of open source projects and helpful projects to the world. Developing and maintaining projects everyday is a harsh work and tho, we love it.
If you are using your application in your day-to-day job, on presentation demos, hobby projects or even school projects, spread some kind words about our work or sponsor our work. Kind words will touch our chakras and vibe, while the sponsorships will keep the open source projects alive.
🚀 Installation
You can install the package via composer:
Publish the config:
Publish the migrations:
🙌 Usage
Out-of-the-box, you benefit a small range of features, like registering routes to retrieve the apps by using the api
apps manager in Node.js.
If you use the Node.js app in a separate environment or location, the .env
configurations we get through the docs will not reflect on Node.js app too, so you should additionally configure the Node.js app.
Apps Manager
Checking the configuration file, you might want to use Echo Server Core's database
driver alongside with Echo Server's api
apps manager. To do so, all the .env variables are set so that they are compatible with Echo Server's ones, so you can easily implement the variables in .env and make both Core & Node.js app to use the same configuration.
A soft default is set as array
, meaning that the default driver is the same as the Node.js app, but this time, the array is used from the config file:
API Manager Security
Since the calls to retrieve the apps are exposing secrets, a token is required to be established between Core & Echo Server app, so that we make sure only the Echo Server has access to them.
You should change the default token for security reasons. It is backwards compatible with the Node.js app, meaning that this will let know the Node.js app about the token too.
Echo Broadcaster
This package comes with a custom broadcaster that fixes the issues that normally the Pusher broadcaster has. It supports natively the same Pusher configuration from broadcasting.php
, but the only thing is that the driver is called socketio
, and you need to pass additional parameters:
🐛 Testing
🤝 Contributing
Please see CONTRIBUTING for details.
🔒 Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
🎉 Credits
- Alex Renoki
- All Contributors
All versions of echo-server-core with dependencies
illuminate/broadcasting Version ^7.30|^8.23
illuminate/database Version ^7.30|^8.23
illuminate/routing Version ^7.30|^8.23
illuminate/support Version ^7.30|^8.23
pusher/pusher-php-server Version ^6.1|^7.0