kreait / laravel-firebase

A Laravel package for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
987 stars 162 forks source link

No publishable resources for tag []. Publishing complete. #193

Closed mahmoudkhalifa84 closed 10 months ago

mahmoudkhalifa84 commented 10 months ago

Describe the bug

No publishable resources for tag []. Publishing complete.

Installed packages

No publishable resources for tag [].
Publishing complete.

PHP version and extensions

8.13

Steps to reproduce the issue.

# Insert the commands issued in the terminal if they are needed
# to reproduce the issue. Otherwise, delete this code block.
// Insert the PHP code to reproduce the issue. Please ensure that it is code that
// can be copy pasted to reproduce it.

Error message/Stack trace

No publishable resources for tag [].
Publishing complete.

Additional information

No response

jeromegamez commented 10 months ago

You can publish the configuration with

php artisan vendor:publish --provider="Kreait\Laravel\Firebase\ServiceProvider" --tag=config

It makes sense that there are no resources for non-provided ([]) tags

mahmoudkhalifa84 commented 10 months ago

php artisan vendor:publish --provider="Kreait\Laravel\Firebase\ServiceProvider" --tag=config

when i run this command i got this error "No publishable resources for tag [config]. Publishing complete."

jeromegamez commented 10 months ago

In that case I'll need more information - which Laravel version are you using and which version of the package 🙏🏻

mahmoudkhalifa84 commented 10 months ago

In that case I'll need more information - which Laravel version are you using and which version of the package

Laravel Framework 8.83.27 after i install firebase with composer require kreait/laravel-firebase, i want to publish this package with

php artisan vendor:publish --provider="Kreait\Laravel\Firebase\ServiceProvider" --tag=config

i got this error "No publishable resources for tag [config]. Publishing complete."

any advice please ?

jeromegamez commented 10 months ago

You didn't tell me the installed version of this package, but from your Laravel version I can tell that it's a 3.x version. I provide support only for the latest major version.

Also, I would like to recommend you to read https://berthub.eu/articles/posts/anonymous-help/ and https://github.com/kreait/firebase-php/issues/817#issuecomment-1656251729.