-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer #1
Comments
Hi @youngbobby, What is the error you are getting? Make sure that you first update your composer.json file, and then execute the composer update command. Also, there is a typo in the composer update statement you posted. It has to be:
Give it a try and let me know how it goes. |
Hi @jonasva This is the error I am getting: Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package jonasva/google-trends No version set (parsed as 1.0.0) could not be found. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see for more details. Read for further common problems. Here's my composer.json file: { "name": "jonasva/google-trends", "description": "Unofficial Google Trends PHP API", "homepage": "http://github.com/jonasva/google-trends", "keywords": ["google", "trends", "api"], "license": "MIT", "authors": [ { "name": "Jonas Van Assche", "email": "[email protected]" } ], "require": { "php": ">=5.4.0", "guzzlehttp/guzzle": "5.0.*@dev", "jonasva/google-trends": "dev-master" }, "autoload": { "psr-0": { "Jonasva\\GoogleTrends": "src/" } } } |
hmm, that might related to the minimum-stability setting in your own composer.json. Try adding these 2 lines at the bottom of your project's composer.json:
|
i even have same issue, can you please guide me what to do.
} and error i am receiving following error: Problem 1 Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. |
Hi @salmanyaqoob, Actually in your project's composer.json file, you should just include Give it a try with a composer.json file like this in your project, and let me know if it works:
|
Thanks. I can't seem to run composer on this repo with the guide you have given.
I updated composer.json file as adviced.
I'm hoping that you would add supoort for Google Topcharts country based :)
The text was updated successfully, but these errors were encountered: