mlk9/dual-response (packagist): With this package, you can operate your API and web in a single controller. (Laravel 6>=)
Keywords: api-rest|controllers|laravel|laravel-package