novaday-co / laravel-pushe
Send Pushe notification in Laravel
dev-master / 1.0.x-dev
2021-08-03 04:23 UTC
Requires
- guzzlehttp/guzzle: >=6.3
- illuminate/http: ~5.0|~6.0|~7.0|~8.0
- illuminate/support: ^8.0|^7.0|^6.0|^5.5
Requires (Dev)
- orchestra/testbench: ^6.13
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-10-29 06:12:51 UTC
README
ارسال نوتیفیکیشن پوشه در لاراول
$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"
متد های قابل استفاده