Tag : Laravel 6


How To Get Last 30 Days Record In Laravel 8

How To Get Last 30 Days Record In Laravel 8

in this tutorial, we see how to get last 30 days record in laravel 8. You can simply get the last 30 days record using laravel 8 eloquent model. In PHP, you can use INTERVAL to get the last 30 days record from the database. Also, we can see how to get the last 1 month's da...

How To Get Last 7 Days Record In Laravel 8

How To Get Last 7 Days Record In Laravel 8

In this example, we will see how to get the last 7 days record in laravel 8. You can simply get the last 7 days record using laravel 8 eloquent model. In PHP, you can use INTERVAL to get the last 7 days record from the database table. Also, we can see how to get last week's records in la...

Laravel 8 Class NumberFormatter Not Found

Laravel 8 Class NumberFormatter Not Found

In this example we will see example of laravel 8 class numberformatter not found. For numberformatter we need PHP 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0 and I have PHP 7 and intl still face numberformatter not found in laravel.

 class numberformatter not found in lara...

How To Create Middleware For XSS Protection In Laravel 8

How To Create Middleware For XSS Protection In Laravel 8

In this tutorial we will see how to create middleware for xss protection in laravel 8. Cross-site scripting is a type of security vulnerability that can be found in some web applications. XSS attacks enable attackers to inject client-side scripts into web pages viewed by other users.

Laravel 8 Image Upload Validation

Laravel 8 Image Upload Validation

In tutorial we will see how to validate laravel 8 image upload validation. In laravel 7/8 you can validate image using the file under validation must be an image (jpg, jpeg, png, bmp, gif, svg, or webp). Also you can required image validation, size of image, dimension of image etc.

In i...

Laravel 8 Datatables Keeping Selected Page Number

Laravel 8 Datatables Keeping Selected Page Number

In this tutorial we will see laravel 8 datatables keeping selected page number after callback. In datatable page number is not save when you reload page so, we need to keep or get current page in datatable after page reload to save state of datatable. 

So, we need this ki...

Laravel 8 Order By Query Example

Laravel 8 Order By Query Example

In this example we will see laravel 8 order by query example. how to use order by in laravel 8.The orderBy method allows you to sort the results of the query by a given column. The first argument accepted by the orderBy method should be the colum...

Recommended Post
Featured Post





Follow us
facebooklogo github instagram twitter