novaday-co/laravel-pushe

Send Pushe notification in Laravel

dev-master / 1.0.x-dev 2021-08-03 04:23 UTC

This package is auto-updated.

Last update: 2024-10-29 06:12:51 UTC


README

Laravel Pushe Package
Laravel Pushe - لاراول پوشه

ارسال نوتیفیکیشن پوشه در لاراول

  $pushe = new Pushe;
  $response = $pushe->setFilters([
      'tags' => [
          'user_id' => '123',
      ]
  ])
  ->setData([
      "title" => "This is a filtered notification",
      "content" => "Only users already subscribed to filter can see me",
  ])->send();

نصب پکیج

composer require farazin-co/laravel-pushe

ایجاد فایل کانفیگ - توکن و اپ آی دی را حتما تنظیم کنید

php artisan vendor:publish --provider="FarazinCo\LaravelPushe\PusheServiceProvider"

متد های قابل استفاده