api-ecosystem-for-laravel / dingo-api

Replacement repo for dingo/api
BSD 3-Clause "New" or "Revised" License
259 stars 57 forks source link

laravel 11 not support #44

Closed huangbule2024 closed 4 months ago

huangbule2024 commented 5 months ago
Q A
Bug? yes
New Feature? yes
Framework Laravel
Framework version 11.x.y
Package version 3.x.y
PHP version 8.2

"php": "^8.2", "huangbule/laravel-eloquent-filter": "^1.0", "laravel/framework": "^11.0", "laravel/tinker": "^2.9", "maatwebsite/excel": "^1.1", "overtrue/laravel-lang": "^3.0", "owen-it/laravel-auditing": "^13.6", "predis/predis": "^2.2", "tencent/tls-sig-api-v2": "^1.1", "tencentcloud/trtc": "^3.0", "tymon/jwt-auth": "^2.1", "vinkla/hashids": "^12.0", "wangju/ding-notice": "^1.0", "yansongda/pay": "^3.6"

Actual Behaviour

www/recharge # composer require api-ecosystem-for-laravel/dingo-api Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version ./composer.json has been updated Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version Running composer update api-ecosystem-for-laravel/dingo-api Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

You can also try re-running composer require with an explicit version constraint, e.g. "composer require api-ecosystem-for-laravel/dingo-api:*" to figure out if any version is installable, or "composer require api-ecosystem-for-laravel/dingo-api:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

nasrulhazim commented 5 months ago

See this discussion for more details.

specialtactics commented 4 months ago

Hey @huangbule2024 the latest version of this is v4 so you need to use that.