LaravelS v3.7.0 Release Notes

Release Date: 2020-04-02 // 5 days ago
    • ➕ Add the enable field to determine whether the socket is enabled or not. It is enabled by default.
    • [Incompatible] Define listeners in events, not in the laravels.php configuration file.

      use Hhxsv5\LaravelS\Swoole\Task\Event;class TestEvent extends Event{protected $listeners = [// Listener listTestListener1::class,// TestListener2::class,];private $data;public function __construct($data) {$this->data = $data; }public function getData() {return $this->data; }}


Previous changes from v3.6.4