staudenmeir / belongs-to-through

Laravel Eloquent BelongsToThrough relationships
MIT License
1.15k stars 88 forks source link

requires illuminate/database ~5.0 -> found illuminate/database[v5.0.0, ..., 5.8.x-dev] - Laravel 8 error #59

Closed WellingtonOstemberg closed 3 years ago

WellingtonOstemberg commented 3 years ago

Problem 1

staudenmeir commented 3 years ago

Are you using the exact installation command from the README? If so, try composer require staudenmeir/belongs-to-through.

WellingtonOstemberg commented 3 years ago

Are you using the exact installation command from the README? If so, try composer require staudenmeir/belongs-to-through.

Wow, so fast on your answer? Thks!

I'm using this: composer require staudenmeir/belongs-to-through:"^2.5"

staudenmeir commented 3 years ago

Does it work without the :"^2.5" at the end?

WellingtonOstemberg commented 3 years ago

no, can i try without it?

staudenmeir commented 3 years ago

Yes, with Laravel 8 the version isn't necessary.

WellingtonOstemberg commented 3 years ago

it worked! Thanks for your excelent job with this lib