Found a total of 10000 related content
Manipulating Images in PHP Using GD
Article Introduction: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
2025-03-04
comment 0
852
Animated Filtering & Sorting with the MixItUp 3 JS Library
Article Introduction:MixItUp 3: Web element filtering and sorting tool based on CSS animation
MixItUp 3 is a powerful JavaScript library that uses CSS animation to filter and sort web elements, which is ideal for organizing content-rich websites such as portfolios, photo albums, and blogs.
Core features of MixItUp 3:
Dependency-free: MixItUp 3 does not depend on any other libraries and is easy to use.
CSS animation: Use CSS animation to achieve smooth filtering and sorting effects.
Highly customizable: Provides rich configuration options, allowing you to customize animation effects, add custom class names, create custom filtering and sorting buttons, and more.
Cross-browser
2025-02-17
comment 0
975
How to filter files by extension using PHP\'s glob() function?
Article Introduction:Filtering Files by Extension in PHPWhen working with directories, it is often necessary to retrieve specific files based on their extension. PHP provides an efficient way to accomplish this task using the glob() function.To filter files by extension,
2024-10-18
comment 0
643
How to Efficiently Filter Files by Extension in PHP Using Glob()
Article Introduction:Efficiently Filtering Files by Extension with PHPRetrieving a list of files from a directory in PHP is straightforward using the scandir() function. However, when you need to filter out files based on a specific extension, such as .ini, an efficient
2024-10-18
comment 0
618
Grequest is inspired by the Request library for Python for GO
Article Introduction:Simple and lightweight golang package for http requests. based on powerful net/http
Grequest is inspired by the Request library for Python and Guzzle in PHP, the goal is to make a simple and convenient library for making http requests in go
The lib
2025-01-07
comment 0
763
Fighting Recruiter Spam with PHP - Proof of Concept
Article Introduction:This article details building a custom PHP email processor to manage recruiter spam. It leverages the Fetch library for IMAP interaction and SwiftMailer for automated replies. A scoring system based on keywords and sender information identifies spa
2025-02-10
comment 0
512
PHP Master | Sending Email with Swift Mailer
Article Introduction:Key Takeaways
Swift Mailer is a powerful, component-based library that allows programmers to send emails easily using an object-oriented approach, with minimal requirements of PHP 5.2 or higher with the SPL extension and a minimum memory limit of
2025-02-25
comment 0
624
Suggesting Carbon with Composer - Date and Time the Right Way
Article Introduction:Carbon: PHP date and time processing tool
Carbon is a lightweight PHP library for simplifying the processing of dates and times. It is based on and extends the core DateTime class and adds many convenient methods to make date-time operation easier. This article will introduce the basic usage of Carbon and demonstrate how to use it in a real project.
Core points:
Carbon is a library designed for PHP date and time operations, extends the core DateTime class and adds user-friendly methods to provide a more intuitive experience.
The library can be installed using Composer and can be instantiated from strings, timestamps, or other DateTime or Carbon instances
2025-02-16
comment 0
497
PHP vs. Python: Core Features and Functionality
Article Introduction:PHP and Python each have their own advantages and are suitable for different scenarios. 1.PHP is suitable for web development and provides built-in web servers and rich function libraries. 2. Python is suitable for data science and machine learning, with concise syntax and a powerful standard library. When choosing, it should be decided based on project requirements.
2025-04-13
comment 0
1074
Laravel (PHP) vs. Python: Understanding Key Differences
Article Introduction:Laravel is suitable for web development, Python is suitable for data science and rapid prototyping. 1.Laravel is based on PHP and provides elegant syntax and rich functions, such as EloquentORM. 2. Python is known for its simplicity, widely used in Web development and data science, and has a rich library ecosystem.
2025-04-17
comment 0
733
Bringing Unicode to PHP with Portable UTF-8
Article Introduction:Core points
Although PHP is able to handle multibyte variable names and Unicode strings, the language lacks comprehensive Unicode support because of treating strings as single-byte character sequences. This limitation affects all aspects of string operation, including substring extraction, determining string length, and string segmentation.
Portable UTF-8 is a user space library that brings Unicode support to PHP applications. It is built on top of mbstring and iconv, provides about 60 Unicode-based string manipulation, testing and verification functions, and uses UTF-8 as its main character encoding scheme. The library is fully portable and can be installed with any PHP 4.2 or higher
2025-02-23
comment 0
890
What are the advantages of using Oracle Data Pump (expdp/impdp) over traditional export/import utilities?
Article Introduction:OracleDataPump (expdp/impdp) has obvious advantages over traditional export/import tools, and is especially suitable for large database environments. 1. Stronger performance: based on server-side processing, avoids client-side transfer bottlenecks, supports parallel operations, significantly improves the export and import speed; 2. More fine-grained control: provides parameters such as INCLUDE, EXCLUDE and QUERY to realize multi-dimensional filtering such as object type, table name, data row; 3. Higher recoverability: supports job pause, restart and attachment, which facilitates long-term task management and failure recovery; 4. More complete metadata processing: automatically record and rebuild index, constraints, permissions and other structures, supports object conversion during import, and ensures consistency of the target library.
2025-07-02
comment 0
186
Working With URIs in Laravel
Article Introduction:Laravel 11.35 introduces the Uri class based on the PHP League URI library. Uri simplifies the process of manipulating and processing URIs in Laravel applications and provides some convenient features about named routing.
Basic Operation
The core function of the Uri class is to create and manipulate URI strings, including queries, fragments, and paths:
use Illuminate\Support\Uri;
$uri = Uri::of('https://laravel-news.com')
->withPath('links')
->wit
2025-03-05
comment 0
792
How to use Composer to manage PHP project version number
Article Introduction:Version control is a key link when managing PHP projects. Recently I was working on a Git-based PHP project and I encountered a problem: how to automatically generate and manage version numbers during development. This problem seems simple, but manual maintenance of the version number is not only cumbersome, but also prone to errors. After some exploration, I found a very useful tool - the sebastian/version library, which was easily integrated into the project through Composer, completely solving my troubles.
2025-04-18
comment 0
926