Looking to hire Laravel developers? Try LaraJobs

laravel-pushe maintained by novaday-co

Description
Send Pushe notification in Laravel
Author
Last update
2021/08/03 06:23 (dev-master)
License
Downloads
58

Comments
comments powered by Disqus

  $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"
Method Description
setToken توکن جدیدی را روی توکن کانفیگ بیندازید
setAppIds آی دی اپ جدیدی را روی توکن کانفیگ بندازید
setData ست کردن دیتا
setFilters ست کردن فیلتر - دسته بندی
setTags ست کردن مستقیم تگ
setTopics ست کردن تاپیک
send ارسال نوتیفیکیشن