You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your interest in contributing to Laravel Echo! Your contributions help make this project better for everyone.
4
+
5
+
Echo is maintained as a monorepo using [pnpm workspaces](https://pnpm.io/workspaces). Below you'll find an overview of the repository and how to get your development environment running.
6
+
7
+
> **Note:** You'll need **pnpm version 10 or higher**. If you're unsure which version you have, run `pnpm -v`.
8
+
9
+
## Repository Overview
10
+
11
+
```
12
+
echo/
13
+
├── packages/
14
+
│ ├── laravel-echo/ Core library
15
+
│ ├── react/ React hooks
16
+
│ │ └── tests/ React tests
17
+
│ └── vue/ Vue hooks
18
+
│ └── tests/ Vue Tests
19
+
```
20
+
21
+
## Getting Started
22
+
23
+
Clone the repository and install the dependencies:
This builds the core library and of the package variants, and starts a file watcher that will automatically rebuild each package when changes are made.
38
+
39
+
If you prefer, you can also start individual watchers from each package directory. For example:
40
+
41
+
```sh
42
+
cd packages/laravel-echo && pnpm dev
43
+
cd packages/react && pnpm dev
44
+
cd packages/vue && pnpm dev
45
+
```
46
+
47
+
> **Note:** The core package (`packages/laravel-echo`) must always be running, as all adapters depend on it.
0 commit comments