bvtvd/laravel-gateway-worker

a php socket framework package for laravel power by Workerman

1.0.3 2018-12-04 10:06 UTC

This package is auto-updated.

Last update: 2024-12-05 00:03:08 UTC


README

About

This package is based on GatewayWorker which is used for socket application.

Quick Start

composer require bvtvd/laravel-gateway-worker
php artisan vendor:publish --provider="bvtvd\GatewayWorker\GatewayWorkerServiceProvider"
php artisan gatewayworker:install

run application

php artisan gatewayworker start

run application in daemon

php artisan gatewayworker start --daemon

other command

php artisan gatewayworker [stop | restart | reload | status]

Develop

  • you can see GatewayWorker docs here
  • app/GatewayWorker is the main directory for develop. YourApp is an Example for reference.