Hello World, Welcome to ProjectsPlaza.com Today we will create like dislike system using Laravel, jquery, and ajax. I will extend my previous tutorial Create a comment system with jquery ajax and Laravel. In this tutorial, we will save like and dislike counting in the database for a specific post. You can extend this system with user authentication. When users view the post detail page then like-dislike counting will also show for this post. I have divided this tutorial into the following steps:
Create LikeDislike Model
Build Relationship between Post and LikeDislike Model
Hello World, Welcome to ProjectsPlaza.com. Today we will learn how to create a comment system with jQuery Ajax and Laravel 7. In this tutorial, we will save comments and show instantly with the total comments count. This gonna be a very interesting tutorial for me as well as for you (I hope). I have divided this tutorial into the following parts:
Create a Post model
Create a Comment model
Define the hasMany relationship in Post Model
Add dummy data for post
Create a PostController and define a method for post list and post detail
Create templates for post and post detail with comments and show data
Hello World, Today we will learn how to count page views in Laravel 7. In this tutorial, we simply count the page views whenever the user visits the page. Suppose we have a post detail page and we want to show how many times this post has been viewed by users. We will use shorthand Laravel query methods to solve this problem.
The above method will increase 1 every time. If you want to increase 2 or more then you can change the above code as follows.
Hello World, Welcome to projectsplaza.com. Today we will discuss how we can fetch data with the model relationship in laravel 7. In this tutorial, we will create an example of hasMany and belongsTo model relationship.
Suppose you have a blog website and you want to fetch comments of a specific post on the post detail page. In this scenario, you should have two models, Post and Comment respectively. We know that a single post has many comments so we will define the hasMany relationship in the post model.
Hello World, Welcome to projectsplaza.com. Today i am going to create a tutorial about stripe payment with laravel 7. This is a small and very easy tutorial. It is very easy to integrate stripe with laravel. I have divided this tutorial into the following parts.
Hello World, Welcome to projectsplaza.com. Today I am going to show you how to send email with attachment in laravel with Mailtrap. This is a very easy and simple tutorial. In this tutorial, I will send a simple email with attachment from my controller function. I have divided this tutorial into the following parts.
Hello World, Welcome to projectsplaza.com. Today I am going to show you how to send email in laravel with Mailtrap. This is a very easy and simple tutorial. In this tutorial, I will send a simple email from my controller function. I have divided this tutorial into the following parts.
Hello World, Welcome to my website. Today I will discuss how to create API with laravel 5. Laravel provides a very efficient way to create API with its resource controller which are already structured around REST verbs and patterns. In this tutorial, we will create a simple example to better understand APIs.
I am using laravel 5.8
I have divided this tutorial into the following parts.
Hello World, Today i am going to discuss “what is rate limiting in laravel 5“. This is a very easy tutorial. In this tutorial, we will show you the route code for rate limiting. I have divided this tutorial into the following parts.
Privacy & Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.