Open libern opened 7 years ago
In issues addressed this, #1314. If I need this package urgently, will you release it first or how to quick fix it?
To install the latest dev-master branch, also don't work!
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
- Conclusion: remove laravel/framework v5.4.3
- Conclusion: don't install laravel/framework v5.4.3
- Conclusion: don't install laravel/framework v5.4.2
- Conclusion: don't install laravel/framework v5.4.1
- Conclusion: don't install laravel/framework v5.4.0
- Installation request for dingo/api dev-master -> satisfiable by dingo/api[dev-master].
This is because in composer.json the dev-master
is aliased to 1.0-dev
.
Until a new version is tagged you could use my fork:
"require": {
"dingo/api": "dev-master",
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/rhwilrForks/api"
},
{
"type": "vcs",
"url": "https://github.com/rhwilrForks/blueprint"
}
],
Api is still pointing to old blueprint that doesn't work with 5.4 yet
+1 Please tag a new version for Laravel 5.4
+1
+1
+1
+1
I know it's really ugly, but if you're being held up by this issue and you desperately need to get around it, you could do the following (until a patch is officially released):
"dingo/api": "1.0.x@dev"
to your composer.json
filecomposer update
That's how I got things up and running for the time being.
it doesn't work
I made a simple line to script section into the composer.json
to download the last version for this file Routing/Adapter/Laravel.php
post-create-project-cmd
sectionwget -q https://raw.githubusercontent.com/dingo/api/master/src/Routing/Adapter/Laravel.php -O vendor/dingo/api/src/Routing/Adapter/Laravel.php
like this
"post-create-project-cmd": [
"wget -q https://raw.githubusercontent.com/dingo/api/master/src/Routing/Adapter/Laravel.php -O vendor/dingo/api/src/Routing/Adapter/Laravel.php",
"php artisan key:generate",
"php artisan jwt:generate"
],
composer update
You could reference the last master commit : "dingo/api": "dev-master#a852013"
+1
@Broutard not working sir!
@libern success ???
+1
public function getRouteProperties($route, Request $request) { return [$route->uri(), $route->methods(), $route->getAction()]; }
@YannGrosjean what? 成功了吗?
+1
+1
+1
I am working on the development of an api and it is working with larevel "5.4.*" and dingo "dev-master # a852013" tested with "php artisan api:routes" and tests on codeception, work ok @Broutard
What about Laravel 5.5?