Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

noblemfd's avatar

Restful api versioning in Laravel 8

I am trying to build a restful api using Laravel-8. Already I have setup Laravel-Passport for api authentication. Now I want to do API versioning for the Laravel-8.

I've heard about Dingo being used with jwt-auth. But I am using laravel passport.

Which api versioning package can I use for the restful api with Laravel Passport auth?

Thanks.

0 likes
3 replies
noblemfd's avatar

@michaloravec - I got to the site but can't find how to use composer to install the package. I mean something like: composer require ...

MichalOravec's avatar

It's not a package, you see there an article how to do it.

Please or to participate in this conversation.