-
Notifications
You must be signed in to change notification settings - Fork 20
Installation
Redjan Ymeraj edited this page Jan 27, 2025
·
3 revisions
Execute the following command to download the latest stable version of this bundle:
$ composer require redjanym/fcm-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new RedjanYm\FCMBundle\RedjanYmFCMBundle(),
);
// ...
}
// ...
}
On your app/config.yml
file add this configuration and insert your Firebase API Key that you can generate in the Firebase Console.
redjan_ym_fcm:
service_account_file: "path/to-/your/file.json"