dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

Can't install in laravel6 #1774

Closed CreationLee closed 3 years ago

CreationLee commented 3 years ago
Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 6.0
Package version 2.*
PHP version 7.2

Actual Behaviour

I just install thispackage by composer require dingo/api:2.*, but there are some errors like those

Problem 1

silvercell commented 3 years ago

你这是php 环境问题, requires php ^7.3 -> your PHP version (7.2.22) 你换成7.3以上的, 还有类似问题先去qq群, 论坛什么问

specialtactics commented 3 years ago

Hi, we don't really support laravel 6 anymore, but that being said, it should definitely be possible. I think you have other issues in your composer.json filel, and you can see there's a lot of dingo/api versions that satisfy the request (in the output).