Just downloaded composer for the first time, and trying to install the php-firebase admin panel using:
composer require kreait/firebase-php ^4.35
Resulting output:
`Using version ^4.35 for kreait/firebase-php
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Installation failed, deleting ./composer.json.
[ErrorException]
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
@Fever905 This is the wrong repo, you meant to go to https://github.com/kreait/firebase-php :). As for your problem: you're using PHP 5 - the SDK needs PHP 7 to operate.
Just downloaded composer for the first time, and trying to install the php-firebase admin panel using:
composer require kreait/firebase-php ^4.35
Resulting output: `Using version ^4.35 for kreait/firebase-php ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev)
Installation failed, deleting ./composer.json.
[ErrorException] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] []...`