joedawson / youtube

Upload a video to a single YouTube channel with Laravel 5.
MIT License
175 stars 105 forks source link

requirements could not be resolved #65

Closed 3ngin closed 7 years ago

3ngin commented 7 years ago

Hello,

When I run composer require dawson/youtube, it gives below error message. I already use "google/apiclient": "^2.0", in my project. My Laravel version is 5.4.

Your requirements could not be resolved to an installable set of packages.

Problem 1

joedawson commented 7 years ago

This package requires google/apiclient@^2.1, what version of dawson/youtube are you trying to install?

3.0.1 is the latest.

3ngin commented 7 years ago

I'm using php 5.6.3 and my main project's composer.json is as below, and dawson/youtube gotta be latest as I'm grabbing fresh.

{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "php": ">=5.6.4", "adldap2/adldap2-laravel": "^3.0", "google/apiclient": "^2.0", "ixudra/curl": "6.", "laravel/framework": "5.4.", "laravel/tinker": "~1.0", "unisharp/laravel-filemanager": "^1.8" }, "require-dev": { "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", "phpunit/phpunit": "~5.7" }, "autoload": { "classmap": [ "database" ], "psr-4": { "App\": "app/" } }, "autoload-dev": { "psr-4": { "Tests\": "tests/" } }, "scripts": { "post-root-package-install": [ "php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "php artisan key:generate" ], "post-install-cmd": [ "Illuminate\Foundation\ComposerScripts::postInstall", "php artisan optimize" ], "post-update-cmd": [ "Illuminate\Foundation\ComposerScripts::postUpdate", "php artisan optimize" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true } }

joedawson commented 7 years ago

The latest release of this package requires PHP >=7.0, sorry.