
Install Laravel 6.x, use composer to copy the command, install laravel/ui for authentication assets, and run php artisan serve to verify the setup, preparing a login and registration interface.
Set up the user interface for a Laravel PHP follow/unfollow app by organizing assets, creating Blade layouts, and wiring routes, controllers, and views for login and register pages.
include axios in the laravel php project, load the axios resources, and verify the setup by registering a user to test the axios requests.
Build and validate a registration form in Laravel by adding fields name, username, password, and email; implement client-side submit handling, server-side validation rules, custom messages, and error responses.
Parse json errors from the registration form response, apply an error class to name, email, and password fields, and display the first validation message for each.
Improve the registration user interface by implementing a reusable loading state with a spinner, handling initial button status and messages, and disabling inputs during submission.
Learn how to build a registration form in PHP using Laravel by storing user data (name, email, hashed password) and handling migrations with redirects and Netflix-style notifications.
Set up a login form in Laravel by posting to a login route and validating the username and password, reusing registration logic to streamline authentication.
Implement a logout function in a Laravel PHP app by configuring a logout route and integrating it with the authentication system to handle the user session when logging out.
Create and seed users in a Laravel app by using factories, hashing passwords, and adding an avatar field through migrations; seed multiple users using asset images to simulate realistic profiles.
Define a followership model and migrations in Laravel with user_id and follow_id fields, seed sample relationships, and add a notification migration for alerts.
learn to set up a Laravel dashboard for a follow/unfollow system by querying followers, following, and notifications, passing data to views, and handling authenticated users.
Set up a followers and following view in a Laravel PHP app, displaying users with an eloquent model and a belongs to relationship to show followers and following.
Set up the people view in Laravel to display followers and following for each user, using a helper to check is following status and render the follow or following button.
Set up a user search in Laravel by wiring a search input to an ajax request, hitting a controller route, querying the user model, and rendering results without page reloads.
Set up the unfollow feature in Laravel by wiring click events to a process data handler, confirming unfollow actions, and triggering a controller request.
Implement unfollow functionality in a Laravel PHP app by verifying the authenticated user's follow record, deleting it when appropriate, and returning JSON responses while updating the followers in real time.
Learn to set up the unfollow functionality in a Laravel PHP app by configuring follow and unfollow actions for followers and following, including controllers, views, and requests.
Implement real-time follow and unfollow in a Laravel PHP app by extending the people page and search with reloadable actions, controller endpoints, and blade views.
Set up a follow feature in Laravel by creating a fellowship record with user1_id and user2_id, handling follow requests, and updating the following list in real time.
Fix minor errors in the follow system by validating follower relationships, preventing duplicate fellowship records, and ensuring correct user id checks and route responses in Laravel.
Implement real-time notifications in a Laravel app by creating a notification class, linking user ids, and polling a check notification route to alert on new followers.
Integrate and update real-time notifications for a Laravel follow/unfollow system, including playing an audio cue and partially reloading followers to reflect new activity.
Hi,
Do you want to learn how to build a follow, unfollow system like Twitter & Facebook ?
Then this course is all you need, in this course you would learn how to implement a follow and unfollow system with PHP Laravel and MySQLI like Twitter and Facebook. So basically, a user can follow & unfollow another user and you can see which user is following you and how many followers you have.
You would also get a real time notification soonest a new user starts following you, plus a notification sound played on your browser like we have in top applications like Facebook, Twitter and Instagram.
I would take you through a step by step guide on user authentication & registration, where we would be validating users form input in real-time, so we don't have to reload our website to show validation errors.
Who is this course for ?
This course is for Beginners who wants to -
Learn how to implement axios, a JavaScript library into there application.
Learn how to validate users input on there website without reloading the page.
Learn how to make every operation on there website looks real-time - operations such as notification count, followers count etc.
Learn the concept behind the follow & unfollow business logic.
This course was made for both beginners & professionals, i would be taking this course on a slow pace, so we get a proper understanding of how things work, i would not be performing any magic :-) , and by magic i mean copy pasting any code , i would explain how every function works as we create them.
I look forward to see you in this course as we build amazing web applications together.
Your present & future instructor
Oziri Emeka Emmanuel.