Open iteearmah opened 7 years ago
@iteearmah , You need install Laravel framework in your environment. Try: Installing Laravel
or you need require laravel/framework
run the follow command in your composer directory
composer require laravel/framework
Just had the same issue at another point. In your case laravel and wordpress-eloquent have conflicting dependencies regarding illuminate/database. Laravel wants it to be ^5.5 and wordpress-eloquent wants it to be 5.4 at most. You either downgrade laravel to (probably) 5.4 or this package needs to upgrade its requirements to 5.5 for illuminate/database. I just tried doing that in a fork but I didnt test it so far. See https://github.com/hottehead/wordpress-eloquent
composer require drewjbartlett/wordpress-eloquent Using version ^0.2.1 for drewjbartlett/wordpress-eloquent ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation request for drewjbartlett/wordpress-eloquent ^0.2.1 -> satisfiable by drewjbartlett/wordpress-eloquent[v0 .2.1].
Conclusion: remove laravel/framework v5.5.20
Conclusion: don't install laravel/framework v5.5.20
drewjbartlett/wordpress-eloquent v0.2.1 requires illuminate/database 5.4.* -> satisfiable by illuminate/database[v5.4. 0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
don't install illuminate/database v5.4.0|don't install laravel/framework v5.5.20
don't install illuminate/database v5.4.13|don't install laravel/framework v5.5.20
don't install illuminate/database v5.4.17|don't install laravel/framework v5.5.20
don't install illuminate/database v5.4.19|don't install laravel/framework v5.5.20
don't install illuminate/database v5.4.27|don't install laravel/framework v5.5.20
don't install illuminate/database v5.4.36|don't install laravel/framework v5.5.20
don't install illuminate/database v5.4.9|don't install laravel/framework v5.5.20
Installation request for laravel/framework (locked at v5.5.20, required as 5.5.*) -> satisfiable by laravel/framework[ v5.5.20].