Category: Laravel

Upload Files and Images with Validation in Laravel - TechvBlogs
Upload Files and Images with Validation in Laravel
  Suresh Ramani   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
  Suresh Ramani   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
  Suresh Ramani   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
  Smit Pipaliya   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
  Smit Pipaliya   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
  Smit Pipaliya   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
  Smit Pipaliya   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
  Suresh Ramani   Laravel

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

Understanding and Working with Files in Laravel - TechvBlogs
Understanding and Working with Files in Laravel
  Smit Pipaliya   Laravel

File uploads are one the most commonly used features on the web. From uploading avatars to family pictures to sending documents via email, we can't do without files on the web.

How to Use Alpine JS with Laravel - TechvBlogs
How to Use Alpine JS with Laravel
  Suresh Ramani   Laravel

Alpine.js  is a relatively new front-end framework that promises the reactive and declarative nature of big frameworks like  Vue.js  or  React.js  without having to run npm, compile scripts, configure webpack all in a nice 7.37kb CDN hosted file. You get to keep your DOM and sprinkle in behavior as you see fit. Think of it like  Tailwind  for JavaScript.