Multilingual Web Application with Laravel:
Authentication and Authorization

Laravel makes implementing authentication very simple. We will implement authentication in our existing application.



Introduction

In the previous parts of this course, we have built a multilingual web application using Laravel and a couple of packages. We have set up a route /articles on which we can see all articles, create, edit and delete articles. In this tutorial, we will implement authentication so that only the authenticated users can access routes behind /article URI.

We will also have to make a few changes to our layout so that the users can quickly access the most important parts of our application.

For demonstration purposes, we will allow everyone to register, but usually what you would want to do is to prevent that behavior for your "admin" section, or you can allow users that have permissions to access that part of your application. It depends on your business needs.

Let's begin!


To continue reading, choose a subscription plan:

Comments