Project

General

Profile

Firebase » History » Version 1

Dmitry Vasilev, 12/11/2025 02:42 PM

1 1 Dmitry Vasilev
### Как я проверял, что firebase работает
2
3
1. Заходим в контейнер
4
```
5
docker exec -it $(docker ps -qf "name=fluir_notifications_app.1") sh
6
```
7
8
2. Check firebase - выполняем
9
```
10
php artisan tinker
11
```
12
13
```
14
app('firebase.messaging');
15
```
16
17
Вывод
18
19
```
20
```shell
21
# php artisan tinker
22
Psy Shell v0.12.13 (PHP 8.3.16 — cli) by Justin Hileman
23
> app('firebase.messaging');
24
= Kreait\Firebase\Messaging {#6332
25
-messagingApi: Kreait\Firebase\Messaging\ApiClient {#6254},
26
-appInstanceApi: Kreait\Firebase\Messaging\AppInstanceApiClient {#6300},
27
-exceptionConverter: Kreait\Firebase\Exception\MessagingApiExceptionConverter {#6159},
28
```