Skip to content
Scratch Coding
  • WordPress
  • Laravel
  • PHP
  • Vue.js
  • JavaScript
  • Quick Links
    • Contact Us
    • Privacy Policy
    • About Us

How to validate file in Laravel in 3 Steps – Upload File Validation Laravel

May 29, 2024December 13, 2022 by Hadaya Qaiser
Validate File Laravel

We show how to validate a file when uploading in Laravel 5, Laravel 6, Laravel 7, Laravel 8 and Laravel 9. Quick solution with code examples

Categories Laravel

How to retrieve child data without timestamp in Laravel

May 29, 2024December 12, 2022 by Hadaya Qaiser
retrieve child data without timestamp Laravel

Use of Eloquent relations to retrieve child data without timestamp in Laravel. The different eloquent relations are explained.

Categories Laravel

How to check which database is connected in Laravel

June 19, 2024December 12, 2022 by Hadaya Qaiser
check connected database in Laravel

Simple code snippet that detects which database is connected in Laravel. The simple code used PDO instance and two methods for this.

Categories Laravel

How to check the request type in Laravel and how to retrieve the requested path

June 19, 2024December 12, 2022 by Hadaya Qaiser
check the request type in Laravel

How to check the request type in Laravel. Also, how to retrieve the request method

Categories Laravel, PHP

How to check existence of a table in Laravel database?

May 29, 2024December 12, 2022 by Hadaya Qaiser
check existence of a table

Method, syntax and implementation for how to check existence of a table in Laravel database. Code snippets are added for proper explanation.

Categories Laravel, PHP

How to clear bootstrap cache in Laravel

May 15, 2024December 7, 2022 by Hadaya Qaiser
Clear bootstrap cache

Here we shows how to clear bootstrap cache in Laravel application. Different ways to clear bootstrap cache

Categories Laravel Leave a comment

How to use the clear cache command in the Laravel controller

February 23, 2024December 7, 2022 by Hadaya Qaiser
clear cache in controller

In this tutorial we can use clear cache command in Laravel Controller. We can clear Route, Config, Cache and View cache.

Categories Laravel Leave a comment

How to clear cache in Laravel without artisan command

May 29, 2024December 7, 2022 by Hadaya Qaiser
clear cache without artisan

There is an alternative to clear cache in Laravel, and configure without using PHP artisan command. You can achieve this through…

Categories Laravel

How to query from two database tables with a condition in Laravel

May 29, 2024December 7, 2022 by Hadaya Qaiser
two database tables with a condition

In this tutorial, we will show How to Query or What are different methods of querying data from two tables with a condition in Laravel

Categories Laravel

How to Upload A Pdf File in Laravel With Code Examples

May 29, 2024December 7, 2022 by Hadaya Qaiser
upload pdf file in Laravel

In this tutorial, we will show how to upload a PDF file in Laravel with code examples. Our code examples do it with few lines of code

Categories Laravel
Older posts
Newer posts
← Previous Page1 … Page12 Page13 Page14 … Page26 Next →

Recent Posts

  • How to manage multiple versions of Node.js on your computer?
  • How to get Domain Name From Subdomain in PHP
  • How to use srcset and sizes for Image Optimization?
  • How to Replace http with https in PhpMyAdmin (bulk WordPress URL update)
  • How to use the array map function with a condition in React?
  • CSS
  • Ionic Framework
  • JavaScript
  • JavaScript Framworks
  • Laravel
  • MySql
  • Node.js
  • PHP
  • React
  • Vue.js
  • Wordpress
© 2025 Scratch Coding • All Rights Reserved.