{"repo":"kutia-software-company/larafirebase","free":true,"listed":false,"github":"https://github.com/kutia-software-company/larafirebase","clone":"git clone https://github.com/kutia-software-company/larafirebase.git","description":"😍 Laravel Firebase Cloud Messaging. ✍️ Developed by Gentrit Abazi.","language":"PHP","stars":370,"topics":["laravel","laravel-firebase","larafirebase","laravel-firebase-push-notification","laravel-real-time","laravel-push-notifications","php","php-firebase","laravel-fcm","php-fcm"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Introduction Larafirebase is a package thats offers you to send push notifications or custom messages via Firebase in Laravel. Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably deliver messages at no cost. For use cases such as instant messaging, a message can transfer a payload of up to 4KB to a client app. Installation Follow the steps below to install the package. Composer Copy Config Run php artisan vendor:publish --provider=\"Kutia\\Larafirebase\\Providers\\LarafirebaseServiceProvider\" to publish the larafirebase.php config file. Get Athentication Key Get Authentication Key from https://console.firebase.google.com/ Configure larafirebase.php as needed Usage Follow the steps below to find how to use the package. Example usage in Controller/Service or any class: Example usage in Notification class: Tips - Check example how to receive messages or push notifications in a JavaScript client. - You can use larafirebase() helper instead of Facade. Payload Check how is formed payload to send to firebase: Example 1: Example 2: If you want to create payload from scratch you can use method fromRaw , for example: --- Made with ♥ by Gentrit Abazi (@gentritabazi).","default_branch":null,"files":null,"tree":[],"storefront":"/r/kutia-software-company","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kutia-software-company/larafirebase/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}