laravel-api-consumer
laravel-api-consumer copied to clipboard
Do you mind updating your optimus series to Laravel 6?
Hi, it started out that i rely heavy on your laravel api plugins (heimdal, apiconsumer etc). May it be possible to make them ready for Laravel 6.
Best regards
Möbuis
Also would like!
Best regards
+1 as well
What would it take to use the apiconsumer in a Laravel v6 application? Are there any special things to take into consideration? I will try in the comming days, but if you know of some issues I would like to hear!
Consuming an API internally is already possible, see the following examples for a migration:
GET: $request = Request::create('/api/users/1', 'GET'); $response = Route::dispatch($request);
POST: $request = Request::create('/api/users/1', 'POST', Input::get()); $response = Route::dispatch($request);
POST w/ cookies $request = Request::create('/api/users/1', 'POST', Input::get(), Cookie::get('name')); $response = Route::dispatch($request);
POST w/ files $request = Request::create('/api/users/1', 'POST', Input::get(), null, Input::file('file')); $response = Route::dispatch($request);
There is now a pull request for this issue, allowing this package to support laravel 6
Since this package has effectively been abandoned, would anyone want to consider creating a new repo with ongoing maintenance support? Maybe @ddell003 or @pablo-bossi who submitted Laravel 6 compatible versions? We could put some issues up on here redirecting people to those packages?
@justin-schroeder Hi Justing, we have actually created new packages supporting Laravel 6 and Laravel 7 for some of optimus packages, as we needed to update our stack and were depending on some of them:
- Heimdal
- Genie
- Dristributed-Laravel
- Bruno
- Architect
- ApiConsumer
You can search for them on packagist by searching for moova