title: Laravel - How to add image file to Firebase cloud storage?
body: <p>How do I upload images to firebase cloud storage? The documentation gives only these methodes but no upload method. This is the documentation link <a href="https://firebase-php.readthedocs.io/en/stable/cloud-storage.html" rel="nofollow noreferrer">https://firebase-php.readthedocs.io/en/stable/cloud-storage.html</a></p>
  <pre><code>$storage = $factory-&gt;createStorage();
  $storageClient = $storage-&gt;getStorageClient();
  $defaultBucket = $storage-&gt;getBucket();
  </code></pre>
  <p>I have seen another stack question related but don't understand the answer.
  I would also like to get a link to the stored file.</p>
  <p>Thank you in advance!</p>