googleworkspace / php-samples

PHP samples for Google Workspace APIs
Apache License 2.0
288 stars 347 forks source link

php-samples/drive/quickstart/quickstart.php doesn't work #70

Open ghost opened 3 years ago

ghost commented 3 years ago

It shows me files in vendor folder not google drive folder.

D:\gdrive>php quickstart.php
PHP Deprecated:  implode(): Passing glue string after array is deprecated. Swap
the parameters in D:\gdrive\vendor\google\apiclient\src\Google\Service\Resource.
php on line 291

Deprecated: implode(): Passing glue string after array is deprecated. Swap the p
arameters in D:\gdrive\vendor\google\apiclient\src\Google\Service\Resource.php o
n line 291
PHP Warning:  count(): Parameter must be an array or an object that implements C
ountable in D:\gdrive\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on li
ne 67

Warning: count(): Parameter must be an array or an object that implements Counta
ble in D:\gdrive\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 67

Files:
phpseclib (14qPB8F0SZreCE8oRDZ4zMx5hiWQQuZ4p)
webmozart (14X_3OzojJdHGm4GmE5HxdoUHsE5TxeYx)
sebastian (1pVZSYkbBxV1TjC-YftV4WA4E86ccR2F6)
ralouphie (1BvjFCPfWGzi_zb7isyNNBL6Y7hcqM3KT)
psr (1JPceREaqFoHWVfnTaK5nE9sl792ybyJ5)
phpspec (1Z9JoeZiKxIjtswJy2tpKkdpDUWyHXvh-)
phpunit (1_Sy-R0AQRJsQTfW-RILGFRyeCWgkBMnp)
phpcompatibility (1NOq9t9s6DgYTJHPG78OqHSeUI_JqkyT5)
autoload.php (1mc-v9-nJL5FC9Dl_lNySvJC6Z87o0YOd)
myclabs (1FAQAxceKDwr43-EOPvtq4pxdpIZTpRqe)