tboothman / imdbphp

PHP library for retrieving film and tv information from IMDb
247 stars 84 forks source link

Install issue imdbphp 8.0 #294

Closed Thomasdouscha closed 1 year ago

Thomasdouscha commented 1 year ago

"Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content. "

Thomasdouscha commented 1 year ago

This is first time i had issue when i install imdbphp. I cannot use it

tboothman commented 1 year ago

What is this from? The only dependencies of imdbphp are psr/log and psr/simple-cache.

If you're trying to update your imdbphp try composer update imdbphp/imdbphp as it'll only update imdbphp not everything else

Thomasdouscha commented 1 year ago

composer update imdbphp/imdbphp created error as i mentioned. But get zip and open it. It works with this way. There is no issue

My website's framework is laravel 5.6. May be when i update imdbphp thatswhy i had this issue. But till today i did not have any issue like this

Thomasdouscha commented 1 year ago

image I created this movie card now. It seems that works perfect very well!

Thomasdouscha commented 1 year ago

I should check it some days. Than i will make a comment if there is any issue.

tboothman commented 1 year ago

Just to be super clear though, this library doesn't use guzzle and has no dependency on it.

I made a project with nothing but imdbphp and this is what it installed. image

It looks like you've got guzzle locked at 7.0.0 in your composer.json but the dependencies of coderjerk/bird-elephant ^0.6.1 want it to be ^7.2 | ^6.5. Best to avoid exact versions if you can and use ^7.whatever so the dependencies can haggle over the version they want to use.

Thomasdouscha commented 1 year ago

Yes you are right. It is up to my laravel framework.

my first comment it is faster than past when update or open new movie card.

Thomasdouscha commented 1 year ago

image

As you mentioned some data has been changed thatswhy my code has some issue. I should revise it.

tboothman commented 1 year ago

Nope that's a bug. I wrongly assumed that every aka had a country

tboothman commented 1 year ago

Fixed https://github.com/tboothman/imdbphp/commit/e72f450f6d07993194ef19ba4d7a14cd06938346

Thomasdouscha commented 1 year ago

I will test again