Lesson 19 - Simple CMS in Laravel - Logout
In the previous lesson, Simple CMS in Laravel - Notifications, we showed notifications in the Laravel framework and looked at the already defined functionality of the user login process.
In today's lesson we will edit the login view, add routes, edit the main template and direct the pages correctly.
Login
We have already explained the login process, so we have no choice but to
throw ourselves into its front-end
part, i.e. the view.
View
Like the other user system views we modified in the previous lessons, the
login.blade.php
view is located in the
resources/views/auth/
folder. We also had it generated using the
Artisan command ui:auth
the Laravel UI library. Therefore, we now
need to adapt it to our template. Its content is as follows:
...End of the preview...

Premium article
ict.social is a large database made up of manuals and tutorials, whose main goal is to provide high-quality IT education to everyone. We started out in the Czech republic, where we display roughly a million articles per month and receive plenty of gratitude from our users. Thanks to our successful establishment, we are now bringing these articles to the rest of the world.
Although we are trying to keep our content free of charge, maintaining the site is a huge effort for everyone involved. Therefore, some content (exercises and more advanced material) costs network points. Don't worry, they're really cheap :)
Article description
Requested article covers this content:
In this lesson of the Laravel framework, we will complete the entire user system by editing the login view, adding routes and editing the main template.
Buying this article gives you unlimited access to it forever. You will learn some more and help us keep giving our site maintenance which helps you and others get better futures. It's a win-win.
This article is licensed: Premium, by buying this article, you agree with the terms of use.
You gain points by supporting our network. This is done by sending a helpful amount of money to support the site, or by creating content for the network.
You can get points immediately using:
![]() |
![]() |
![]() |
Credit card | SMS | Wire transfer |