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

kaushal Kumar Upadhyay

 

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

kaushal Kumar Upadhyay

 

Pagenation in Laravel

In Controller funtion:
public function {

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

kaushal Kumar Upadhyay

 

how to create public funciton in Laravel controller

public funciton funciton_name()

{

//your code goes here;

}

kaushal Kumar Upadhyay

 

Create Pagenation in Laravel

How can add pagination in Larave in view blade

kaushal Kumar Upadhyay

 

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

kaushal Kumar Upadhyay