outscraper / outscraper-php

The library provides convenient access to the Outscraper API from applications written in the PHP language. Allows using Outscraper's services from your code.
https://outscraper.com/google-maps-api/
MIT License
16 stars 5 forks source link

unable to install with composer #3

Closed jtoy closed 2 years ago

jtoy commented 2 years ago

when I run compose update I get an error with outscraper:

    "outscraper/outscraper": "^1.5.1",

Illuminate\Foundation\ComposerScripts::postAutoloadDump PHP Fatal error: Cannot declare class OutscraperClient, because the name is already in use in /Users/jtoy/projects/test/vendor/outscraper/outscraper/outscraper.php on line 12

Fatal error: Cannot declare class OutscraperClient, because the name is already in use in /Users/jtoy/projects/test/vendor/outscraper/outscraper/outscraper.php on line 12

php -v PHP 8.1.11 (cli) (built: Sep 29 2022 19:44:28) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.11, Copyright (c) Zend Technologies with Zend OPcache v8.1.11, Copyright (c), by Zend Technologies

any ideas?

jtoy commented 2 years ago

other issues