Tag Archives: Learn laravel from scratch

create-comment-system-with-jquery-ajax-and-laravel-7

Create comment system with jquery ajax and laravel 7

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
  • Setup route
  • Add a comment with jquery ajax and  show instantly

Continue reading

How to create api with laravel 5

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.

  • Create Resource Controller
  • Create Modal
  • Access Data via Resource Controller
  • API Routing
  • Test API in Postman

Continue reading

How to use database migration in laravel

Hello World, Welcome to my website. Today I am going to discuss how to use database migration in laravel. For a better understanding of database migration, I have created this tutorial with example.

I have divided this tutorial into the following parts.

  • What is migration?
  • How to Create a migration file?
  • How to Run Migration?

Continue reading

what-is-rate-limiting-in-laravel-5

What is rate limiting in laravel 5

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.

  • What is rate limiting
  • How to define rate limiting in laravel 5
  • Text Example

Continue reading

create-custom-package-in-laravel-5

How to create a custom package in laravel 5

Hello World, Today I am going to discuss how to create a custom package in laravel 5. In this tutorial, we will create a crud package. We will discuss migrations, routes, models, controllers, views and package configuration in this tutorial. You can download the full source code of this tutorials at here.

I have divided this tutorial in the following part,

  • Package introduction
  • Package directory structure
  • Package configuration via composer
  • Load package from composer.json file
  • Create Crud Controller
  • Create Crud Model and migration
  • Create Crud Routes
  • Create Crud Views
  • Connect Package with Laravel
  • Test you package

Continue reading

create-read-update-and-delete-with-laravel

Create Read Update and delete data with Laravel 5

Hello World, Welcome to my website. This is the fourth part of the series Create project from scratch with laravel 5. In the previous part, we have discussed how to create custom admin login with laravel 5.

In this part, We will discuss how we can create read update and delete data with laravel 5. In this series, we are creating an employee management system. This part will help us to create Employee CRUD ( Create, Read, Update and Delete) with laravel. We will add, modify, view and delete employee detail in this part. I have divided this tutorial into the following parts.

Continue reading

create-project-from-scratch-with-laravel

Setup laravel 5 on local system and create hello world app

Hello World, Welcome to my website. This is the second part of the series Create project from scratch with laravel 5. In the first part of this series, we have discussed about the project and technologies which we are using in this series. In this part, we will setup laravel 5 on local system and create hello world app.

Continue reading

create-todo-app-with-laravel-part-1-add-and-show-data

Create todo app with laravel

Hello World, Welcome to Laravel tutorial series Learn laravel with example. In the previous tutorial we have learned that how to setup laravel on local system and how to create simple hello world with laravel. In this tutorial we will start to create todo app with laravel. I have divided the todo app tutorial in following parts,

  • Add and Show Task
  • Update and Delete Task

Continue reading