Skip to content
Codewolfy Logo

Codewolfy

  • Privacy Policy
  • Terms of Use
  • Contact Us
  • About Us
Show Image Preview using jQuery
  • jQuery

Show Image Preview using jQuery

When users upload images, it’s helpful to let them see a preview before sending it to the server. This way, they can quickly spot mistakes and remove or change any wrong images. You can implement this seamlessly with jQuery. In this tutorial, we will show how to show image preview using jQuery with a simple

Learn More about Show Image Preview using jQuery
2 years ago4 months ago
Generate Random String in PHP
  • PHP

Generate Random String in PHP

In this example, we will generate random string in PHP using multiple methods. PHP does not provide a built-in function for random strings, but we can create them using random numbers. PHP has three different functions to generate random numbers. These functions accept minimum and maximum values and return a random number from that range.

Learn More about Generate Random String in PHP
2 years ago4 months ago
Generate QR Code In PHP
  • PHP

Generate QR Code In PHP

Knowing how to generate QR code in PHP and allow users to download it as an image is an essential skill for developers. QR codes play a major role in industries like online payments, eCommerce, ticket booking, and even on visiting cards. A QR code stores information such as serial numbers or website addresses. When

Learn More about Generate QR Code In PHP
2 years ago4 months ago
Check File Exists or not Using PHP
  • PHP

Check File Exists or not Using PHP

When working with files, it’s important to check file exists or not using PHP before attempting to access them. This prevents errors and improves the user experience by handling missing files gracefully. PHP offers several built-in functions to manage file operations efficiently. In this tutorial, we will explore these functions and demonstrate how to check

Learn More about Check File Exists or not Using PHP
2 years ago4 months ago
Check Database Connection in Laravel
  • Database

Check Database Connection in Laravel

In this example, we will check the database connection in Laravel. Before starting to create a new Laravel application start your database services like XAMPP or WAMPP and change database credentials in the .env file. Here, we will check database is connected and get an active database name using DB helper. To check database exists

Learn More about Check Database Connection in Laravel
2 years ago4 months ago
Get SQL Query in Laravel
  • Laravel

Get SQL Query in Laravel

Sometimes retrieving data in Laravel can return incorrect results or unexpected values. To debug or optimize these cases, we often need to get SQL query in Laravel and inspect the exact query executed. Laravel provides multiple ways to convert Eloquent queries into raw SQL queries, making it easier to analyze and troubleshoot database operations. Using

Learn More about Get SQL Query in Laravel
2 years ago4 months ago
Laravel Get File List from Directory
  • Laravel

Laravel Get File List from Directory

When working with files in Laravel, it’s often necessary to get file list from directory in Laravel to manage or display them efficiently. Using the Storage Facade, we can easily retrieve all files from a directory or sub-directories. While PHP offers multiple methods to list files, Laravel’s built-in approach simplifies the process and keeps the

Learn More about Laravel Get File List from Directory
2 years ago4 months ago
Create Custom Method In Laravel Model
  • Laravel

Create Custom Method In Laravel Model

In Laravel, you can create a custom method in Laravel model to handle specific logic like formatting dates or manipulating attributes. This approach keeps your code organized and reusable whenever you access model data. For instance, we will define a custom method in the model to convert date objects using Carbon and apply type casting,

Learn More about Create Custom Method In Laravel Model
2 years ago4 months ago
Delete All Data From Eloquent Model
  • Laravel

Delete All Data From Eloquent Model

In many applications, we often need to clear all records from a database table. For example, tables storing temporary data like session logs, cache records, or daily reports require regular cleanup to maintain performance. In Laravel, we can delete all data from an Eloquent model easily. This removes all rows while keeping the table structure

Learn More about Delete All Data From Eloquent Model
2 years ago4 months ago
Check Collection Is Empty or not in Laravel
  • Laravel

Check Collection Is Empty or not in Laravel

In Laravel, collections are a common way to store and work with data. Sometimes, we need to check collection is empty or not in Laravel before performing operations to avoid errors or unexpected results. The Collection class provides many methods similar to array functions, making it easy to manipulate and access data. There are several

Learn More about Check Collection Is Empty or not in Laravel
2 years ago4 months ago
  • Previous page
  • 1
  • …
  • 24
  • 25
  • 26
  • 27
  • 28
  • …
  • 32
  • Next page

Recent Posts

  • Build Your Own Markdown to HTML Converter Using JavaScript
  • Making Authenticated API Calls Using PHP cURL and Bearer Tokens
  • How to Optimize Images on Upload Using TinyPNG API in PHP
  • How to Implement Login with GitHub in Laravel 12 using Socialite
  • Stop Spam Fast: Integrating Google reCAPTCHA v3 in Laravel 12

Categories

  • AI (4)
  • Angular (5)
  • Apache (2)
  • Apache 2 (3)
  • API (5)
  • Array (3)
  • Barcode (5)
  • Ckeditor (1)
  • Composer (2)
  • CSS (1)
  • CURL (2)
  • Database (5)
  • Django (2)
  • Express (9)
  • Facebook APIs (1)
  • FastAPI (3)
  • Filament (5)
  • Filament 4 (2)
  • Flask (1)
  • Form Validation (5)
  • FTP (1)
  • Git (2)
  • Google (7)
  • Highchart (1)
  • HTML (1)
  • JavaScript (22)
  • jQuery (23)
  • Jquery UI (3)
  • JSON (6)
  • Laravel (133)
  • Library (2)
  • MongoDB (8)
  • MySql (5)
  • NestJS (1)
  • Node JS (30)
  • Payment Gateway (1)
  • PHP (53)
  • Python (30)
  • React JS (5)
  • Redis (1)
  • Software install (11)
  • SQL (1)
  • TypeScript (1)
  • Ubuntu (14)
  • Uncategorized (5)
  • Vue.JS (3)
  • WordPress (1)
  • XAMPP (1)
Codewolfy Logo

Codewolfy is online learning platform for beginners and experienced. which covers web development, software development and programming.

Quick Links

  • Privacy Policy
  • Terms of Use
  • Contact Us
  • About Us

  • Laravel (133)
  • PHP (53)
  • Node JS (30)
  • Python (30)
  • jQuery (23)

@ 2026 Codewolfy.