it is a composer issue. check this: https://github.com/composer/composer/issues/6343
first you need to php artisan make:auth it scaffolds authentication files. now you can access from /...
create routes in routes/api and return in that controller. now connect to url/api/yourapicontroller...
The Laravel portal for problem solving, knowledge sharing and community building.
The community