<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
galihlprakoso / flysystem-firebase-storage example snippets
use galihlprakoso\Adapters\FirebaseStorageAdapter;
use Kreait\Firebase\Factory;
$factory = (new Factory())->withServiceAccount('<path to your service account json file>');
$storageClient = $factory->createStorage();
$adapter = new FirebaseStorageAdapter($storageClient, '<bucket name>');