Project

General

Profile

Actions

Как я проверял, что firebase работает

  1. Заходим в контейнер
docker exec -it $(docker ps -qf "name=fluir_notifications_app.1") sh
  1. Check firebase - выполняем
php artisan tinker
app('firebase.messaging');

Вывод

```shell
# php artisan tinker
Psy Shell v0.12.13 (PHP 8.3.16 — cli) by Justin Hileman
> app('firebase.messaging');
= Kreait\Firebase\Messaging {#6332
-messagingApi: Kreait\Firebase\Messaging\ApiClient {#6254},
-appInstanceApi: Kreait\Firebase\Messaging\AppInstanceApiClient {#6300},
-exceptionConverter: Kreait\Firebase\Exception\MessagingApiExceptionConverter {#6159},

Updated by Dmitry Vasilev about 2 months ago · 1 revisions