How to install Laravel

I am new to Laravel. I want to install Laravel but I am not able to install it in my localhost

 

Calculate difference between two dates using Carbon and Blade

I want to display the difference of time in posting related to current time such as you have posted this blog 15 min ago

 

Pagenation in Laravel

In Controller funtion:
public function {

$variable = DB::table('table_name')->pageinate(number_of_record);
return view('page_n

 

{{$str1 = str_replace('\\','-',$str);

 

how to create public funciton in Laravel controller

public funciton funciton_name()

{

//your code goes here;

}

 

Create Pagenation in Laravel

How can add pagination in Larave in view blade

 

Php code to genereate random number

How to generate random unique number in php

 

Remove public form URL in Laravel

I have install laravel on my localhost I want to remove Public form url such as http://example.com/ public to http://example.com to access base site

 

how to add css class using javascript

want to dissable my anchor tag on click that button