laravel 8 crud step by step

preview_player
Показать описание
laravel 8 crud step by step
Laravel 9 Vue js 3 Complete Crud Application

Laravel 9 Vue 3 Login and Registration

Laravel 9 Angular Complete Crud Application

Laravel 8 Crud with Authentication

Laravel 8 image uploading and Display

More Projects
Best Laravel 8 Crud Step by Step

Basic Laravel 8 Project step by step

Inventory Management System using Laravel 8

Laravel 7 Custom Login Form with Validation

Laravel 7 Custom Login Form with Ajax

How to build the website using Laravel 8

Coffee Shop Inventory Management System using Laravel 8

Restaurant Shop Inventory Management System using Laravel 8

Invoice No Generating using Php Mysqli

Simple Pagination in Php Mysql

Simple Loan Calculation System using Php and jQuery

Icecream Shop Pos System using Php

Coffee Shop Pos System using Php

Restaurant Pos System using Php jquery

Sales Chart using php and mysql

PHP Project Step by Step

Dropdown Menu in php mysqli Ajax,Json,Jquery

#laravel8#laravel8crud##laravelcrud
Рекомендации по теме
Комментарии
Автор

Thank you so much for your great effort.I learnt a lot of thing from your video.This is my first tutorial I learnt crud in laraval framework.

tiksong
Автор

i don't recommend this to beginner ones.
it is difficult to understand. anyways, the guys is trying his best to make us understand.

lifeboy
Автор

OMG LMAO MY FRIENDS XD this dude is like, making us go crazy *for those who don't understand Laravel that much* because the damn source code is the completely different contents and the video project and the source code project is a different two project. I was completely out of ideas when there are class errors everywhere and now this time, second time I watched the video I found out. I hope this is helpful to everyone who struggled to do the project. And also thx for the video and it is a very helpful video.

ThawHtooZin
Автор

Nice one but you need to provide the source code

aloseun
Автор

Its my first time using laravel, thank you for sharing!!

vascollection
Автор

Hi Sir, your video is very useful to me. But in that, it's very tough to get the source. So kindly provide us that document. It would be a big help for us

vigneshkumar
Автор

Thanks a lot bruv. You're amazing

dailydollaronline
Автор

Can you please help me to create consultancy site using laravel

shahlaps
Автор

Thank You, how do you make users see all the posts ?

souleymanengom
Автор

composer create-project --prefer-dist laravel/laravel Egait

php artisan make:migration

$table->id();

$table->string('studname');

$table->string('course');

$table->string('fee');

$table->timestamps();

php artisan migrate

php artisan make:controller StudentController --resource--model-Student

Route::resource('students', 'App\Http\Controllers\StudentControllers');

public function index()
{
$students =
return view('students.index', compact('students'))
->with('i', (request()->input('page', 1)-1)*5);


}
public function create()
{
return view('students.create');

}
public function store(Request $request)
{
$request->validate([
'studname'=>'required'
'course'=>'required'
'fee'=>'required'


]);


return
->with('success', 'Students Created successfully.');

}

public function show(Student$student)
{
return view('students.show', compact('student'));
}
public function edit(Student$student)
{
return view('students.edit', compact('student'));
}
public fuction update(Request$request, Student$student)
{
$request->validate([

]);


return
->with('Success', 'Student Updated Successfully.');
}

public function destroy(Student $student)
{
$student->delete();
return
->with('success', 'student Deleted Successfully');
}

protected $fillable =[
'studname', 'coursename', 'fee',
];



view
<!DOCTYPE html>
<html lang="en">
<head>
<title>student Management system</title>

</head>
<body>
<div class="container">
@yield('content')
</div>
</body>
</html>

Index.blade.php
@extends('students.layout')

@section('content')

div class="pull-left">

<h2>Student Crud Step by Step</h2>

</div>
<div class="row">

<div class="col-lg-12 margin-tb">
<div class="pull-right">

<a class="btn btn-success" href="{{ route('students.create') }}"> Create New Student</a>

</div>

</div>

</div>
@if ($message = Session::get('success'))
<div class="alert alert-success">

<p>{{ $message }}</p>

</div>

@endif
<table class="table table-bordered">
<tr>

<th>No</th>

<th>Name</th>

<th>Course</th>

<th>Fee</th>

<th width 280px">Action</th>.
</tr>
@foreach

($students as $student)

Pa

<tr> ww

<td>{{ ++$i }}</td>

<td>{{ $student->studname }}</td>

<td>{{ $student->course }}</td>

<td>{{ $student->fee }}</td>

<td>
<form action="{{ route('students.destroy', $student->id) }}" method="POST">

<a class="btn btn-info" href="{{ route('students.show', $student->id) }}">Show</a>

<a class="btn btn-primary" href="{{ route('students.edit", $student->id) }}">Edit</a>
@csrf

@method('DELETE')

I

<button type="submit" class="btn btn-danger">Delete</button>

</form>

</td>
</tr>
@endforeach
</table>

Create.blade.php
@extends('students.layout')

@section('content')

<div class="row">

<div class="col-lg-12 margin-tb">

<div class="pull-left">
<h2>Add New Students</h2>

</div>

<div class="pull-right">

I

<a class="btn btn-primary" href="{{ route('students.index') }}"> Back</a>

</div>
</div>

</div>

@if ($errors->any())

<div class="alert alert-danger">

<strong>Whoops!</strong> There were some problems with your input.<br><br>

<ul>
@foreach ($errors->all() as $error)

<li>{{ $error }}</li>
@endforeach

</ul>

</div>
@endif

<form action="{{ route('students.store') }}" method="POST">

@csrf
<div class="row">

<div class="col-xs-12 col-sm-12 col-md-12">

<div class="form-group">



<input type="text" name="studname" class="form-control" placeholder="studname">

</div>

</div>
<div class="col-xs-12 col-sm-12 col-md-12">

<div class="form-group">


<strong>Course</strong>

<input type="text" name="course" class="form-control" placeholder="course">
<div class="form-group">

<strong>Course</strong>

<input type="text" name="course" class="form-control" placeholder="course">

</div>

</div>



<div class="col-xs-12 col-sm-12 col-md-12">
<div class="form-group">

<strong>Fee</strong>

<input type="text" name="fee" class="form-control" placeholder="fee">

</div>

</div>
<div class="col-xs-12 col-sm-12 col-md-12 text-center">

<button type="submit" class="btn btn-primary">Submit</button>

</div>

</div>
</form>

@endsection

musaitsolutions
Автор

Thankyou for this tutorial. But i hope in other tutorial must be full step by step like crud.

HighLightsX
Автор

hi thank you for the vid tutorial. could you send the word doc or the codes? its difficult to follow. i need it for my project. thank you

rosenoire
Автор

How to create only one post blade and extend it in both create and edit. to avoid duplicate code

mohitlandge
Автор

this video was ok until you start copy and pasting code unfortunately for some beginners like me, i have no idea what code are you pasting... i followed your link for the source code. another unfortunate event happen. it's not there.

kennethdoctolero
Автор

I know and I got out put but you show something wrong in end of the video variable name and call name same so you will not get out put after showing different out put in your video which is done u did not show why ❓ sir which you done code and showing this different window

visitingplaceblog
Автор

Hi, Great Job. Could you please share the code

vithyashasi
Автор

php artisan serve
php artisan make:migration create_students_table --create=students
$table->string('studname');
$table->string('course');
$table->string('fee');
php artisan migrate
php artisan make:controller StudentController --resource --model=Student

mriniimana
Автор

did anyone got the source code in his tutoral for Create, Edit, layout, index blade.php files

madavdhaurali
Автор

php artisan make:controller StudentController --resource --model=Student

mriniimana
Автор

please source code, we are all starving xD

WLaChitarra