Article Tags
How to Create a Custom Authentication Guard in Laravel

How to Create a Custom Authentication Guard in Laravel

This article will explore the authentication system of the Laravel framework in depth, focusing on how to create a custom authentication guard by extending the core authentication system. Laravel's core provides a powerful authentication system that allows basic authentication to be easily implemented. Just run a few artisan commands to build the scaffolding of the authentication system. Additionally, the system is designed to allow extensions and insertion of custom authentication adapters. This article will discuss this in detail. Before we dive into the implementation of custom authentication guards, we will first discuss the basic elements of the Laravel authentication system - guards and providers. Core elements: Guardians and providers The core of the Laravel authentication system consists of two elements—

Mar 05, 2025 am 10:02 AM
Send Emails in PHP Using Symfony Mailer

Send Emails in PHP Using Symfony Mailer

This article will dive into the Symfony Mailer library, which allows you to send emails from PHP applications. Starting with installation and configuration, we will step by step explaining a real-life example that demonstrates all aspects of sending emails using the Symfony Mailer library. What is Symfony Mailer? There are a variety of ways you can choose when sending emails in a PHP application. You may even end up creating your own wrapper to quickly set up your email features. However, if you are using a well-maintained and feature-rich library, you are always lucky. Symfony Mailer is a popular library for sending emails from PHP applications and being PHP

Mar 05, 2025 am 09:55 AM
How Laravel Broadcasting Works

How Laravel Broadcasting Works

Today, we are going to explore the concept of broadcasting in the Laravel web framework. It allows you to send notifications to the client side when something happens on the server side. In this article, we are going to use the third-party Pusher lib

Mar 05, 2025 am 09:27 AM
How to Zip and Unzip Files in PHP

How to Zip and Unzip Files in PHP

The advantages of network transmission file compression are significant, and the total file size after compression is usually greatly reduced, saving bandwidth and speeding up user downloads. Users can decompress at any time after downloading. In short, compression can significantly simplify network transfers of files for you and your visitors. Manually compressing files can be cumbersome, but luckily, PHP offers many extensions that specialize in handling file compression and decompression. You can use the functions in these extensions to automatically compress PHP files. This tutorial will guide you how to compress files into zip archives in PHP and decompress files from zip archives. You will also learn how to delete or rename files in your archive without decompressing first. PHP single file compression Multiple file compression in directory Modify or overwrite archives

Mar 04, 2025 am 10:39 AM
How to Set Up a Full-Text Search Using Scout in Laravel

How to Set Up a Full-Text Search Using Scout in Laravel

This tutorial demonstrates implementing full-text search in a Laravel application using the Laravel Scout library. Scout provides a streamlined, driver-based approach to adding this crucial functionality to your Eloquent models. It automatically sy

Mar 04, 2025 am 10:38 AM
How to Create a Laravel Helper

How to Create a Laravel Helper

Here's what the official Laravel site says about helpers.Laravel includes a variety of global "helper" PHP functions. Many of these functions are used by the framework itself; however, you are free to use them in your own applications if yo

Mar 04, 2025 am 10:05 AM
Build a React App With a Laravel Back End: Part 2, React

Build a React App With a Laravel Back End: Part 2, React

This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

Mar 04, 2025 am 09:33 AM
Notifications in Laravel

Notifications in Laravel

In this article, we're going to explore the notification system in the Laravel web framework. The notification system in Laravel allows you to send notifications to users over different channels. Today, we'll discuss how you can send notifications ov

Mar 04, 2025 am 09:22 AM
Manipulating Images in PHP Using GD

Manipulating Images in PHP Using GD

This tutorial explores PHP's GD (Graphic Draw) library for efficient image manipulation. Managing numerous website images can be challenging, but GD automates tasks like resizing, cropping, and filtering. This guide covers: Image Creation with PHP

Mar 04, 2025 am 09:20 AM
WP_Query Arguments: Posts, Pages, and Post Types

WP_Query Arguments: Posts, Pages, and Post Types

In this part of this series on page_id in our example. This 20 is cast to an integer because post_status argument to post__in argument to fetch posts, WordPress will still fetch sticky posts, even if they're not in your list, as you can see in the im

Mar 04, 2025 am 09:08 AM
Custom Events in Laravel

Custom Events in Laravel

In this article, we are going to explore the basics of event management in Laravel. We'll also create a real-world example of a custom event and listener.The concept of events in Laravel is based on a very popular software design pattern—the observer

Mar 04, 2025 am 09:07 AM
Why does it prompt 'git' when executing shell_exec is not an internal or external command?

Why does it prompt 'git' when executing shell_exec is not an internal or external command?

This article addresses the "git" command not found error when using shell_exec in PHP. The primary cause is an incorrectly configured system PATH environment variable, preventing PHP from locating the Git executable. The article provides

Mar 03, 2025 pm 04:25 PM
Announcement of 2025 PHP Situation Survey

Announcement of 2025 PHP Situation Survey

The 2025 PHP Landscape Survey investigates current PHP development trends. It explores framework usage, deployment methods, and challenges, aiming to provide insights for developers and businesses. The survey anticipates growth in modern PHP versio

Mar 03, 2025 pm 04:20 PM
WP_Query Arguments: Status, Order, and Pagination

WP_Query Arguments: Status, Order, and Pagination

This series of articles will explore the essence of WP_Query in depth. Before we start, let's quickly review the inheritance mechanism of the WP_Query parameter. Articles with exclude_from_search set to true will also be excluded from search results. If you do not specify a status in the query parameters, WordPress will use inherited status by default. The inheritance status applies to both attachments and revisions. The media file uploaded on the editing screen is attached to the article currently being edited. Therefore, it is reasonable that they have the same state as the parent article. Similarly, the revised version of the article uses the same mechanism. Sort parameters You can sort with the following two parameters: orderby parameter

Mar 03, 2025 am 10:51 AM

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Hot Topics

Java Tutorial
1653
14
PHP Tutorial
1251
29
C# Tutorial
1224
24