laravel-websockets/docs/getting-started/introduction.md

23 lines
847 B
Markdown
Raw Permalink Normal View History

2020-06-02 08:56:13 +00:00
---
title: Introduction
order: 1
---
2020-06-02 10:03:46 +00:00
# Laravel WebSockets 🛰
2020-09-11 06:25:13 +00:00
2020-06-02 08:56:13 +00:00
WebSockets for Laravel. Done right.
2020-09-11 06:25:13 +00:00
Laravel WebSockets is a package for Laravel that will get your application started with WebSockets in no-time! It has a drop-in Pusher API replacement, has a debug dashboard, realtime statistics and even allows you to create custom WebSocket controllers.
2020-06-02 08:56:13 +00:00
Once installed, you can start it with one simple command:
```php
php artisan websockets:serve
```
---
If you want to know how all of it works under the hood, we wrote an in-depth [blogpost](https://murze.be/introducing-laravel-websockets-an-easy-to-use-websocket-server-implemented-in-php) about it.
2020-09-11 06:25:13 +00:00
To help you get started, you can also take a look at the [demo repository](https://github.com/beyondcode/laravel-websockets-demo), that implements a basic Chat built with this package.