Closed welcoMattic closed 8 years ago
Hi! Can you provide additional information? Package version, PHP version, Laravel version. Then i can try to reproduce this the error.
Here more info :
api-tester dev-development
PHP 7.0.9
Laravel 5.1.41
Thank you! Middleware groups was added in laravel 5.2. I'll to fix it now.
Great, thank you to backport compatiblity to 5.1!
It works great!
Excepted that I can't see my dingo/api routes :/
EDIT : no change in config file is apply
you should uncomment this line https://github.com/asvae/laravel-api-tester/blob/development/config/api-tester.php#L100
I tried, but nothing happens.
I realy have no idea =( Just tried, clean install.
PHP 5.6/7.0
composer.json
"laravel/framework": "5.1.*",
"asvae/laravel-api-tester": "dev-development",
"dingo/api": "1.0.x@dev"
config/app.php
Dingo\Api\Provider\LaravelServiceProvider::class,
Asvae\ApiTester\ServiceProvider::class,
config/api-tester.php
'route_repositories' => [
Asvae\ApiTester\Repositories\RouteLaravelRepository::class,
Asvae\ApiTester\Repositories\RouteDingoRepository::class,
],
config/api.php
'subtype' => env('API_SUBTYPE', 'test'),
'prefix' => env('API_PREFIX', 'api'),
app/Http/routes.php
$api = app('Dingo\Api\Routing\Router');
$api->version('v1', function ($api) {
$api->get('users/{id}',function(){
return 'TEst';
});
});
and it works fine for me...
route detected, headers auto-filled result is returned
have you any idea?
did you apply latest update? https://github.com/asvae/laravel-api-tester/commit/c98183f0304f6db36cb37a624576984635431ca9
I just run a composer update
i don't know how to reproduce this bug =( can you provide your dingo config?
@asvae
I caught this error just after a clean installation of the package :
Is it known?
BTW, I use dingo/api