laravel-api-consumer icon indicating copy to clipboard operation
laravel-api-consumer copied to clipboard

Do you mind updating your optimus series to Laravel 6?

Open Monsterhulk opened this issue 5 years ago • 7 comments

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

Monsterhulk avatar Sep 05 '19 07:09 Monsterhulk

Also would like!

Best regards

nicolaslima321 avatar Sep 16 '19 13:09 nicolaslima321

+1 as well

chrisgillis avatar Sep 16 '19 18:09 chrisgillis

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!

Dawied avatar Nov 18 '19 15:11 Dawied

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);

rowanfuchs avatar Jan 16 '20 09:01 rowanfuchs

There is now a pull request for this issue, allowing this package to support laravel 6

ddell003 avatar Mar 05 '20 14:03 ddell003

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 avatar Aug 11 '20 20:08 justin-schroeder

@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

pablo-bossi avatar Aug 12 '20 14:08 pablo-bossi