Link:  https://github.com/selahattinunlu/laravel-api-query-builder

We can use this package to easily build APIS for Laravel and Lumen.

Laravel lumen apis