Download the PHP package cednore/boom-controller without Composer

On this page you can find all versions of the php package cednore/boom-controller. 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 boom-controller

boom-controller

Booming server control interface for Laravel

:exclamation: IMPORTANT: This project is not actively maintained.

boom-controller is a composer package for Laravel applications to control boom-server microservice.

See boom-demo for example usage of this project.

Currently, this project supports only socket.io:^2.2.0, laravel:^5.7|^6.0 and php:^7|^8.

Features

  1. Expose endpoints to listen socket.io events coming from frontend clients
  2. PHP class to provide same interface as socket.io's Node.js server (for easy porting of legacy applications)
  3. Facade for smooth syntax
  4. Authentication of traffic between boom-server and API
  5. State machine over MySQL table to share list of sockets

Installation

Emit cheatsheet (comparison between legacy JavaScript syntax and new PHP syntax)

Basic emit

To all clients in the current namespace except the sender

To all clients in room1 except the sender

To all clients in room1 and/or room2 except the sender

To all clients in room1

To all clients in namespace "myNamespace"

To all clients in room1 in namespace "myNamespace"

To individual socketid (private message)

To all clients on this node (when using multiple nodes)

To all connected clients

Without compression

A message that might be dropped if the low-level transport is not writable

Configuration

The file config/boom.php contains an array of configurations. See code comments inside this file for detailed explanations.

Artisan commands

Command: boom:init

Initialize boom controller.

Usage:

Options:

Command: boom:make:nsp

Make a new socket.io namespace handler.

Usage:

Arguments:

Options:

Cloning

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See Installation chapter for notes on how to use this project on a live system.

Project roadmaps

  1. Testing desperately needed ;-)
  2. Resourceful documentation; Changelog, contribution guide, issue/PR templates, GitHub releases, dedicated documentation website
  3. Version compatibility check between boom-controller and boom-server
  4. CI/CD pipelines for building, testing and publishing
  5. Support higher socket.io and laravel versions
  6. More smooth controller syntax
  7. Detailed error handling
  8. Memcached driver
  9. More stable db connection
  10. Dockerization of microservice
  11. Combine boom-server and boom-controller in a single monorepo

License

This project is licensed under the MIT license. See full contents at LICENSE file.


All versions of boom-controller with dependencies

PHP Build Version
Package Version
Requires php Version ^7|^8
guzzlehttp/guzzle Version ^6.3
laravel/framework Version ^5.7|^6.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 cednore/boom-controller contains the following files

Loading the files please wait ....