Category: Laravel

How to Clear Cache In Laravel 8 - TechvBlogs
How to Clear Cache In Laravel 8
  Laravel

In this tutorial, We are going to learn how to clear route cache, laravel application cache, config cache, view cache and reoptimized class in a Laravel 8 application using artisan command-line interface.

Laravel 8 Import Export Excel & CSV File Example - TechvBlogs
Laravel 8 Import Export Excel & CSV File Example
  Laravel

Throughout this tutorial, you will learn how to easily import and export Excel and CSV files in the Laravel 8 application while communicating with the PHP MySQL database using Maatwebsite/Laravel-Excel package.

Upload Files and Images with Validation in Laravel - TechvBlogs
Upload Files and Images with Validation in Laravel
  Laravel

File uploads are one of the vital pieces in most web projects, and Laravel has awesome functionality for that, but the information is pretty fragmented, especially for specific cases.

Add Social Login in Laravel With Socialite - TechvBlogs
Add Social Login in Laravel With Socialite
  Laravel

Social login is now an essential part of any site which performs user authentication. It saves the users a lot of time, as they won’t need to fill the whole form. They just sign up with their social account and next time they can log into the website by a single click.

Conditional Classes Blade Directives in Laravel - TechvBlogs
Conditional Classes Blade Directives in Laravel
  Laravel

The @class directive conditionally compiles a CSS class string. The directive accepts an array of classes where the array key contains the class or classes you wish to add, while the value is a boolean expression.

Laravel 8.x Cursor Based Pagination Example - TechvBlogs
Laravel 8.x Cursor Based Pagination Example
  Laravel

Cursor pagination works by constructing "where" clauses that compare the ordered column values ​​in the query, providing the most efficient database performance available amongst all of Laravel's pagination methods.

PHP Composer Cache Clear - TechvBlogs
PHP Composer Cache Clear
  Laravel

Learn how to clear composer cache when package seems don't want to update.

How to Install React in Laravel 8 - TechvBlogs
How to Install React in Laravel 8
  Laravel

In this blog, we will learn how to install React JS in Laravel 8. If you don't know how to install Laravel 8 in React JS, this example tutorial is for you.

Laravel 8.x withExists Method to Eloquent Queries Example - TechvBlogs
Laravel 8.x withExists Method to Eloquent Queries Example
  Laravel

In this blog, We will learn how we can use this withExists method to our eloquent query.

Laravel One of Many Eloquent Relationship Example - TechvBlogs
Laravel One of Many Eloquent Relationship Example
  Laravel

The one-of-many relationship creates a one-to-one association from a one-to-many relationship.