Select Page
Today now in this post i will show you How to Run Laravel Project? If you have need to run laravel project without the virtual host then you can run this quickly by using laravel artisan command. if you are a beginner and if you are confuse about how to run the laravel application then here it is a very simple to run so just need to run the bellow command in your terminal:
php artisan serve

After this command you can copy bellow link and need to check on your browser:

http://localhost:8000/

<br />@extends('frontEnd.master')</p>
<p>@section('title')<br />All Product | CRUD<br />@endsection</p>
<p>@section('allDataBody')</p>
<div class="myBody">
<div class="readTable">
<h2 class="readTitle">Student List</h2>
<h4 class="text-center text-success mt-2">{{ Session::get('message') }}</h4>
<p>@foreach ($products as $product)@endforeach</p>
<table class="table table-hover table-striped text-center">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Gender</th>
<th>Depertment</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ $product-&gt;mname }}</td>
<td>{{ $product-&gt;memail }}</td>
<td>{{ $product-&gt;mphone }}</td>
<th>{{ $product-&gt;gender == 1 ? 'Male' : 'Female' }}</th>
<td>{{ $product-&gt;mdepertment }}</td>
<td><a href="{{ route('editProduct', &#91;'id' =&gt; $product-&gt;id&#93;) }}" class="btn btn-warning"><i class="far fa-edit"></i></a><br /><a href="{{ route('deleteProduct', &#91;'id' =&gt; $product-&gt;id&#93;) }}" class="btn btn-danger"><i class="far fa-trash-alt"></i></a></td>
</tr>
</tbody>
</table>
</div>
<p>{{-- For Restore and permanent delete data --}}<br />{{--</p>
<div class="readTable">
<h2 class="readTitle">Student List</h2>
<h4 class="text-center text-success mt-2">{{ Session::get('message') }}</h4>
<p>@foreach ($resoreDatas as $resoreData)@endforeach</p>
<table class="table table-hover table-striped text-center">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Gender</th>
<th>Depertment</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ $resoreData-&gt;mname }}</td>
<td>{{ $resoreData-&gt;memail }}</td>
<td>{{ $resoreData-&gt;mphone }}</td>
<th>{{ $resoreData-&gt;gender == 1 ? 'Male' : 'Female' }}</th>
<td>{{ $resoreData-&gt;mdepertment }}</td>
<td><a href="{{ route('restoreProduct') }}" class="btn btn-warning"><i class="fas fa-trash-restore-alt"></i></a><br /><a href="{{ route('deleteProduct', &#91;'id' =&gt; $product-&gt;id&#93;) }}" class="btn btn-danger"><i class="far fa-trash-alt"></i></a></td>
</tr>
</tbody>
</table>
</div>
<p>--}}</p>
</div>
<p>@endsection</p>
<p>