Laravel 5.6 suggests a simple structure for creating API-driven applications. Your API routes are declared in their own routes/api.php file, and can leverage the auth:api Middleware for security.
26/Dec/18 · by Wogan MaySometimes you want to have a route that only accepts AJAX calls, or at least protect them if they are not AJAX calls.
12/Dec/18 · by Dennis Sminkecently, Laravel changed some composer dependencies, so the framework comes with a JSON Web Token package included by default. Since we have the package to use JWT, let’s make a custom authentication guard for APIs using JSON Web Token.
11/Dec/18 · by Gergo NagyIn this tutorial we will develop a full API authentication system which can be used by any application which is able to perform requests.
30/Oct/18 · by Martin Riedweg