kreait / laravel-firebase

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

laravel publish issue #220

Closed Haris-Technical-Solutions closed 6 months ago

Haris-Technical-Solutions commented 6 months ago

Describe the bug

installing package 7.1 on laravel 8 and php 8.2

No publishable resources for tag [config].

Installed packages

{
  "name": "laravel/laravel",
  "description": "The Laravel Framework.",
  "keywords": [
    "framework",
    "laravel"
  ],
  "license": "MIT",
  "type": "project",
  "require": {
    "php": ">=8.1",
    "akaunting/money": "^1.2",
    "barryvdh/laravel-dompdf": "1.0.2",
    "facade/ignition": "^2.3.6",
    "fideloper/proxy": "^4.0",
    "guzzlehttp/guzzle": "^7.0.1",
    "intervention/image": "^2.4",
    "kreait/firebase-php": "^7.10",
    "laravel/framework": "^8.0",
    "laravel/helpers": "^1.1",
    "laravel/sanctum": "2.15",
    "laravel/tinker": "^2.0",
    "mews/purifier": "^3.3",
    "mollie/mollie-api-php": "2.41.0",
    "nwidart/laravel-modules": "^8.3",
    "razorpay/razorpay": "^2.5",
    "stripe/stripe-php": "^7.33",
    "twbs/bootstrap": "4.0.0-beta.2"
  },
  "require-dev": {
    "maatwebsite/excel": "^3.1",
    "barryvdh/laravel-debugbar": "^3.2",
    "filp/whoops": "~2.0",
    "fzaninotto/faker": "~1.4",
    "mockery/mockery": "~1.0",
    "phpunit/phpunit": "^9.0"
  },
  "autoload": {
    "classmap": [
      "database/seeds",
      "database/factories"
    ],
    "psr-4": {
      "App\\": "app/",
      "Modules\\": "Modules/",
      "Database\\Factories\\": "database/factories/",
      "Database\\Seeders\\": "database/seeders/"
    },
    "files": [
      "app/Helpers.php",
      "updating/updating_1.php",
      "updating/updating_2.php",
      "updating/updating_3.php",
      "updating/updating_4.php",
      "updating/updating_5.php",
      "updating/updating_6.php",
      "updating/updating_7.php",
      "updating/updating_8.php",
      "updating/updating_9.php",
      "updating/updating_10.php"
    ]
  },
  "autoload-dev": {
    "psr-4": {
      "Tests\\": "tests/"
    }
  },
  "extra": {
    "laravel": {
      "dont-discover": []
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ],
    "post-create-project-cmd": [
      "@php artisan key:generate"
    ],
    "post-autoload-dump": [
      "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
      "@php artisan package:discover"
    ]
  },
  "config": {
    "preferred-install": "dist",
    "sort-packages": true,
    "optimize-autoloader": true,
    "platform-check": false
  }
}

PHP version and extensions

8.2

extension=curl
;extension=ffi
;extension=ftp
extension=fileinfo
extension=gd
;extension=gettext
;extension=gmp
extension=intl
;extension=imap
extension=mbstring
extension=exif      ; Must be after mbstring as it depends on it
extension=mysqli
;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
;extension=oci8_19  ; Use with Oracle Database 19 Instant Client
;extension=odbc
extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
;extension=pdo_pgsql
;extension=pdo_sqlite
;extension=pgsql
;extension=shmop

; The MIBS data available in the PHP distribution must be installed.
; See https://www.php.net/manual/en/snmp.installation.php
;extension=snmp

;extension=soap
;extension=sockets
extension=sodium
;extension=sqlite3
;extension=tidy
extension=xsl
extension=zip

;zend_extension=opcache

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

php artisan vendor:publish --provider="Kreait\Laravel\Firebase\ServiceProvider" --tag=config
No publishable resources for tag [config].
Publishing complete.

not working

Additional information

No response

jeromegamez commented 6 months ago

You need to install kreait/laravel-firebase, not kreait/firebase-php.