Laravel 10 Full Course | #13 Admin Logout Option

preview_player
Показать описание
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Laravel 10 continues the improvements made in Laravel 9.x by introducing argument and return types to all application skeleton methods, as well as all stub files used to generate classes throughout the framework. In addition, a new, developer-friendly abstraction layer has been introduced for starting and interacting with external processes. Further, Laravel Pennant has been introduced to provide a wonderful approach to managing your application's "feature flags".
Laravel 10.x requires a minimum PHP version of 8.1.
A new first-party package, Laravel Pennant, has been released. Laravel Pennant offers a light-weight, streamlined approach to managing your application's feature flags. Out of the box, Pennant includes an in-memory array driver and a database driver for persistent feature storage.
Process Interaction
The process abstraction layer was contributed by Nuno Maduro and Taylor Otwell.

Why We Should Learn Laravel?

👉Laravel is a first development life cycle and less code functionality
👉it's easy to learn
👉making web applications faster
👉configuration error and exception handling
automation testing work.
👉URL Routing Configuration is very high in Laravel.
👉cheduling tasks configuration and management
👉It has a huge community
👉Unlimited resource.
👉Most importantly it's very easy to get a job if you have Laravel skills.

Laravel 10.x introduces a beautiful abstraction layer for starting and interacting with external processes via a new Process facade:

Laravel 10 New Course.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👉Laravel 9 -Build Complete Multi Vendor Ecommerce Project A-Z
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👉Laravel 9 Build Advanced Complete Point Of Sale Project A-Z
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👉Laravel 9 A-Z For Beginner With Complete News Portal Website
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👉Laravel 9 - Build Complete Inventory Management System A-Z
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👉React Js A-Z With Laravel - For Beginner to Advanced Level
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👉Laravel 8 - Build Advance Ecommerce Project A-Z
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👉Laravel 8 - Advance Course Build School Management System
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Laravel 8 Beginner to Advance with Complete News Portal
Рекомендации по теме
Комментарии
Автор

Super excellent course.Just what I needed exactly set my admin logout business logic. Thank you very much, sir

asohyannick
Автор

i have this problem now Target class [role] does not exist.

Yapphengheng
Автор

Nice, a tutorial with tailwind component without any bootstrap

mugerwaobadiah
Автор

when ever i close tab without logout, then again open / it will be login page and after login it will take me to the build-in dashboard, which i am not using for any role i created 4 roles and their separate dashboards, how can we prevent auto redirect to /dashboard, or if there is any solution like expire session after tab closing so when we login again we will only redirect to admin panel only. and our session should be expired/flush after tab closing.
need your help i spend 2 days still no solution.

i am working on a project for school, and they have 4 roles, admin coordinator student and teacher, so when ever i close tab without logout now i will login as any user it goes to /dashboard not to their own dash untill and unless i have to logout user form default /dash which laravel created after breeze which is not using in my case i created 4 separate dashboards.

and please upload a video on how can i create attendance page, and backend code for attendence as well. without any problems,
.

laraibjamal
Автор

I'm getting a page not found error, sir. I followed every step you showed in this video. the url says, admin/logout; error: 404 page not found. How do I fix this?

kuroyami
Автор

Could we not set a global logout? less code // Logout Route
Route::post('/logout', [AuthenticatedSessionController::class, 'destroy'])
->middleware('auth')
->name('logout');

for the button we can use <form method="POST" action="{{ route('logout') }}">
<i class="me-2 icon-md" data-feather="log-out"></i>
@csrf
<a href="#" Out</a>
</form>

Sub-lbuq
Автор

Sir, Create a course Vue js with Laravel

pronaydas
Автор

I am so sorry everything is fine but so far I've not seen any db relation in your project. You can even do that at video no 1 to 3 but you have put each and everything in the single that does not makes any sense.

AbdulRehman-nprq