Tagged articles

PHP

3051 articles · Page 29 of 31
Laravel Tech Community
Laravel Tech Community
Jan 3, 2020 · Backend Development

Laravel Session Management: Configuration, Drivers, and Usage

This guide explains how Laravel handles session storage across HTTP requests, covering configuration files, built‑in drivers such as file, cookie, database, Memcached and Redis, custom driver creation, and common session operations like retrieving, storing, flashing, and regenerating IDs, with code examples throughout.

BackendLaravelPHP
0 likes · 12 min read
Laravel Session Management: Configuration, Drivers, and Usage
Laravel Tech Community
Laravel Tech Community
Jan 3, 2020 · Backend Development

Generating URLs in Laravel: Helpers, Named Routes, Signed URLs, and Default Parameters

This article explains how Laravel's URL helper functions—such as url, route, signedRoute, temporarySignedRoute, action, and URL::defaults—can be used to generate basic URLs, access the current request URL, create named and signed routes, validate signatures, and set default route parameters, with code examples throughout.

BackendLaravelPHP
0 likes · 8 min read
Generating URLs in Laravel: Helpers, Named Routes, Signed URLs, and Default Parameters
Laravel Tech Community
Laravel Tech Community
Jan 2, 2020 · Backend Development

Master Laravel Controllers: From Basics to Advanced Resource Routing

This guide explains how to organize request handling with Laravel controllers, covering basic controller creation, namespace handling, single‑action controllers, middleware assignment, resource controllers with custom routes, dependency injection techniques, and route caching for production performance.

ControllersDependency InjectionLaravel
0 likes · 13 min read
Master Laravel Controllers: From Basics to Advanced Resource Routing
Laravel Tech Community
Laravel Tech Community
Jan 2, 2020 · Backend Development

Mastering Laravel Middleware: From Basics to Advanced Usage

This guide explains how Laravel middleware filters HTTP requests, shows how to create custom middleware with artisan, demonstrates pre‑ and post‑processing, registers global and route middleware, configures middleware groups, priority ordering, parameter passing, and terminable middleware for advanced request handling.

BackendHTTPLaravel
0 likes · 10 min read
Mastering Laravel Middleware: From Basics to Advanced Usage
Laravel Tech Community
Laravel Tech Community
Jan 2, 2020 · Backend Development

Laravel Routing Basics and Advanced Features

This article provides a comprehensive guide to Laravel routing, covering basic route definitions, route files, HTTP verbs, CSRF protection, redirects, view routes, parameters with constraints, named routes, route groups, model binding, fallback routes, rate limiting, and form method spoofing, all illustrated with clear code examples.

BackendLaravelPHP
0 likes · 14 min read
Laravel Routing Basics and Advanced Features
Laravel Tech Community
Laravel Tech Community
Dec 31, 2019 · Backend Development

Introduction to Laravel Facades and Their Usage

This article explains Laravel Facades as static-like interfaces to the service container, shows how to define and use them, compares them with dependency injection and helper functions, and demonstrates testing techniques including real‑time facades with comprehensive code examples.

BackendDependency InjectionFacades
0 likes · 8 min read
Introduction to Laravel Facades and Their Usage
Laravel Tech Community
Laravel Tech Community
Dec 31, 2019 · Backend Development

Understanding Laravel Contracts: Benefits, Usage, and Comparison with Facades

Laravel contracts are framework-provided interfaces that define core services such as queues and mail, offering low-coupling and clear dependencies; the article explains their purpose, compares them with facades, demonstrates refactoring for decoupling with code examples, and shows how to inject contracts via the service container.

Backend DevelopmentContractsDependency Injection
0 likes · 7 min read
Understanding Laravel Contracts: Benefits, Usage, and Comparison with Facades
Laravel Tech Community
Laravel Tech Community
Dec 31, 2019 · Backend Development

Laravel Application Lifecycle Overview

This article explains Laravel’s request entry point, the bootstrapping process involving index.php, the HTTP and console kernels, the role of service providers, request dispatching, and how these components work together to handle incoming requests and generate responses.

BackendLaravelPHP
0 likes · 5 min read
Laravel Application Lifecycle Overview
Laravel Tech Community
Laravel Tech Community
Dec 30, 2019 · Backend Development

Laravel Application Folder Structure Overview

This article provides a comprehensive overview of Laravel's default application folder structure, explaining the purpose of each top‑level directory such as app, bootstrap, config, database, public, resources, routes, storage, tests, and vendor, and detailing the sub‑folders within the app directory like Console, Http, and Providers.

Backend DevelopmentLaravelPHP
0 likes · 12 min read
Laravel Application Folder Structure Overview
Laravel Tech Community
Laravel Tech Community
Dec 29, 2019 · Backend Development

Step‑by‑Step Guide to Installing and Configuring Laravel

This guide walks you through Laravel's server requirements, installation via Composer or the Laravel installer, local development setup, essential configuration such as public path, permissions, application key, and web‑server tweaks for Apache and Nginx, providing ready‑to‑use code snippets.

Backend DevelopmentInstallationLaravel
0 likes · 6 min read
Step‑by‑Step Guide to Installing and Configuring Laravel
Laravel Tech Community
Laravel Tech Community
Dec 29, 2019 · Backend Development

Laravel Configuration Files and Environment Settings Guide

This article explains Laravel's configuration system, detailing the config directory, environment variable management with .env files, retrieving and setting config values, caching configurations, and using maintenance mode commands, providing code examples and best practices for secure and efficient backend development.

BackendConfigurationLaravel
0 likes · 10 min read
Laravel Configuration Files and Environment Settings Guide
Laravel Tech Community
Laravel Tech Community
Dec 27, 2019 · Backend Development

Master Laravel from Zero: A Practical Roadmap for Beginners

This guide walks beginners through Laravel fundamentals, setting up development environments, hands‑on project ideas, documentation habits, team standards, job‑search strategies, and a long‑term learning path to become a well‑rounded backend engineer.

Backend DevelopmentDevOpsLaravel
0 likes · 7 min read
Master Laravel from Zero: A Practical Roadmap for Beginners
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 24, 2019 · Backend Development

How Alibaba Cloud’s Real‑Time Composer Mirror Solved the PHP Package Crisis

When international network instability made Composer mirrors intermittently inaccessible, Alibaba Cloud’s engineer Gu Yong quickly diagnosed and fixed the issue, then launched a high‑performance, real‑time PHP Composer mirror that offers fast, stable, and self‑healing package delivery for developers across China.

BackendComposerDevOps
0 likes · 10 min read
How Alibaba Cloud’s Real‑Time Composer Mirror Solved the PHP Package Crisis
21CTO
21CTO
Nov 30, 2019 · Backend Development

What’s New in PHP 7.4? Typed Properties, Arrow Functions, and More

PHP 7.4 introduces a suite of powerful features—including typed properties, arrow functions, limited covariance/contravariance, array unpacking, numeric literal separators, short lambda syntax, weak references, throwable __toString() and Opcache preloading—each illustrated with concise code examples for modern backend development.

Arrow FunctionsBackend DevelopmentPHP
0 likes · 5 min read
What’s New in PHP 7.4? Typed Properties, Arrow Functions, and More
Efficient Ops
Efficient Ops
Nov 24, 2019 · Backend Development

How to Build a High‑Performance LAMP Stack with FastCGI, ApacheBench, and XCache

This guide walks through deploying a LAMP architecture with static‑dynamic separation, compiling PHP with FastCGI, configuring Apache proxy to PHP‑FPM, performing load testing using ApacheBench, installing XCache for PHP acceleration, and finally setting up a Discuz BBS forum, providing step‑by‑step commands and performance metrics.

ApacheBBSLAMP
0 likes · 24 min read
How to Build a High‑Performance LAMP Stack with FastCGI, ApacheBench, and XCache
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Oct 29, 2019 · Backend Development

How to Secure PHP Code with the Open‑Source screw‑plus Extension

This article explains how to protect commercial PHP projects from source leakage by using the open‑source screw‑plus extension to encrypt and obfuscate code, covering PHP extension lifecycle, hook mechanisms, encryption workflow, implementation details, and practical advantages and limitations.

Backend SecurityCode EncryptionExtension Development
0 likes · 9 min read
How to Secure PHP Code with the Open‑Source screw‑plus Extension
Ops Development Stories
Ops Development Stories
Sep 20, 2019 · Cloud Native

Deploy PHP & Java Websites on Kubernetes: A Step‑by‑Step Guide

This guide walks beginners through deploying PHP and Java web applications on a Kubernetes cluster, covering environment preparation, Docker image creation, namespace and secret setup, writing deployment, service and ingress manifests, and verifying access via host file configuration, illustrating each step with code snippets and diagrams.

Cloud NativeDockerHarbor
0 likes · 12 min read
Deploy PHP & Java Websites on Kubernetes: A Step‑by‑Step Guide
Architecture Digest
Architecture Digest
Sep 17, 2019 · Backend Development

Evolution and Refactoring of the Mafengwo IM System: From PHP 1.0 to Go‑Based Microservices

The article details the step‑by‑step architectural evolution of Mafengwo's instant‑messaging platform—from an initial PHP‑based monolith, through polling optimizations with OpenResty, to a Go‑implemented, micro‑service‑oriented design that improves scalability, reliability, and multi‑device synchronization.

GoIMMicroservices
0 likes · 14 min read
Evolution and Refactoring of the Mafengwo IM System: From PHP 1.0 to Go‑Based Microservices
21CTO
21CTO
Sep 10, 2019 · Backend Development

Why Laravel Stands Out: 14 Compelling Reasons to Choose This Backend Framework

This article explains why using Laravel for web development saves time and effort by offering built‑in authentication, convention‑over‑configuration, powerful ORM, easy email handling, Artisan CLI, testing support, simple routing, and a vibrant community, making it a top PHP backend choice.

LaravelMVCORM
0 likes · 14 min read
Why Laravel Stands Out: 14 Compelling Reasons to Choose This Backend Framework
Ziru Technology
Ziru Technology
Sep 6, 2019 · Backend Development

How to Build and Deploy PHP Application Images on the Omega Platform

This article guides readers through the architecture, extension types, image construction steps, configuration details, and local debugging procedures for deploying PHP applications as container images on the Omega platform, highlighting best practices and common pitfalls.

DockerImage BuildKubernetes
0 likes · 10 min read
How to Build and Deploy PHP Application Images on the Omega Platform
360 Tech Engineering
360 Tech Engineering
Aug 19, 2019 · Backend Development

PHP Interface Performance Optimization: Diagnosis Methods and Practical Solutions

This article shares practical experiences on diagnosing PHP interface performance bottlenecks using ThinkPHP's G function and profiling tools like Xhprof, then presents concrete code‑level, database‑level, and hardware‑level optimization techniques to improve execution speed and reduce resource consumption.

Backend DevelopmentPHPProfiling
0 likes · 9 min read
PHP Interface Performance Optimization: Diagnosis Methods and Practical Solutions
Open Source Tech Hub
Open Source Tech Hub
Aug 5, 2019 · Backend Development

How to Implement a Redis‑Backed Queue in ThinkPHP5

This guide explains how to set up ThinkPHP5's built‑in Queue component with a Redis driver, create a custom queue class, configure the queue, produce messages, and run a consumer process, including handling retries, delays, and daemon mode.

Background JobsPHPRedis
0 likes · 9 min read
How to Implement a Redis‑Backed Queue in ThinkPHP5
21CTO
21CTO
Aug 2, 2019 · Backend Development

Is PHP Really Dead? Unpacking the Myths and Market Realities

This article examines recent rumors about PHP’s demise, reviews Zend’s leadership changes, presents market‑share data, and argues why PHP remains a viable choice for startups and small‑to‑medium enterprises despite criticism.

PHPZendmarket share
0 likes · 8 min read
Is PHP Really Dead? Unpacking the Myths and Market Realities
Huajiao Technology
Huajiao Technology
Jul 9, 2019 · Backend Development

Server‑Side Video Rendering for a Mini‑Program Using After Effects, Aerender, and FFmpeg

This article describes how a PHP‑based backend service integrates After Effects' aerender command‑line tool and FFmpeg to automatically generate, split, compress, and deliver video templates for a mini‑program, covering requirement analysis, architecture, rendering workflow, code snippets, and performance optimizations.

After EffectsBackendFFmpeg
0 likes · 11 min read
Server‑Side Video Rendering for a Mini‑Program Using After Effects, Aerender, and FFmpeg
37 Interactive Technology Team
37 Interactive Technology Team
May 31, 2019 · Fundamentals

A Comprehensive Guide to QuickSort: Principles, Implementations, Performance Characteristics, and Optimizations

This comprehensive guide explains QuickSort’s divide‑and‑conquer principle, presents two PHP‑style implementations, analyzes its O(N log N) average and O(N²) worst‑case performance, and details practical optimizations such as random pivot selection, switching to insertion sort for small sub‑arrays, three‑way and dual‑pivot variants.

JavaPHPSorting Algorithm
0 likes · 10 min read
A Comprehensive Guide to QuickSort: Principles, Implementations, Performance Characteristics, and Optimizations
21CTO
21CTO
May 18, 2019 · Backend Development

Why Modern PHP Is Worth Your Attention in 2019 and Beyond

This article reviews PHP's recent evolution—faster runtimes, a thriving ecosystem, modern language features, and improved tooling—while acknowledging lingering design quirks, to help developers decide whether PHP remains a viable choice for contemporary web development.

Backend DevelopmentFrameworksPHP
0 likes · 12 min read
Why Modern PHP Is Worth Your Attention in 2019 and Beyond
Mafengwo Technology
Mafengwo Technology
Feb 18, 2019 · Backend Development

Why MaFengWo Built Its Own Message Bus and How It Works

This article explains the motivations behind MaFengWo's custom message bus, details its architecture and implementation—including SDK, RabbitMQ broker, Go Deliver service, and MySQL subscription storage—and outlines future plans for productization and micro‑service integration.

MicroservicesPHPRabbitMQ
0 likes · 12 min read
Why MaFengWo Built Its Own Message Bus and How It Works
Open Source Tech Hub
Open Source Tech Hub
Dec 28, 2018 · Information Security

Generate RSA Keys and Use PHP for Encryption & Decryption

This guide explains what RSA encryption is, outlines common use cases, shows step‑by‑step commands to generate private and public keys with OpenSSL, and provides a complete PHP class with methods for public‑key encryption, private‑key decryption, signing and verification, plus practical code examples.

PHPRSAdecryption
0 likes · 9 min read
Generate RSA Keys and Use PHP for Encryption & Decryption
21CTO
21CTO
Dec 24, 2018 · Backend Development

How to Secure Your Laravel App with Automated Backups Using Spatie

This tutorial walks you through installing the Spatie Laravel‑Backup package, configuring email notifications, setting filename prefixes, limiting storage usage, enabling compression, monitoring backups, and automating the process with cron to protect your Laravel application from data loss.

LaravelPHPSpatie
0 likes · 5 min read
How to Secure Your Laravel App with Automated Backups Using Spatie
Ops Development Stories
Ops Development Stories
Dec 21, 2018 · Operations

How to Install Zabbix Server, MySQL, Nginx, PHP, and Elasticsearch on CentOS

This comprehensive tutorial walks you through adding the Zabbix repository, installing Zabbix server and web interface, setting up MySQL 5.7, configuring Nginx and PHP from source, deploying the Zabbix agent, installing Elasticsearch with the head plugin, and finally storing Zabbix history data in Elasticsearch on a CentOS system.

CentOSElasticsearchMySQL
0 likes · 20 min read
How to Install Zabbix Server, MySQL, Nginx, PHP, and Elasticsearch on CentOS
dbaplus Community
dbaplus Community
Dec 10, 2018 · Databases

How to Run Percona MongoDB HotBackup with a Simple PHP Script

This guide explains why the community edition of MongoDB lacks native hot backup, how Percona MongoDB adds online backup support, the underlying backup and restore principles, and provides a step‑by‑step PHP script with environment setup, configuration, execution, and scheduling instructions.

HotBackupMongoDBPHP
0 likes · 7 min read
How to Run Percona MongoDB HotBackup with a Simple PHP Script
21CTO
21CTO
Dec 8, 2018 · Fundamentals

Which Open‑Source Language to Learn Next? PHP, Python, JavaScript, Ruby & Go Compared

The article examines the popularity of five open‑source programming languages—PHP, Python, JavaScript, Ruby, and Go—by evaluating their community size, typical use cases, dominant frameworks, and career prospects, helping developers choose the most suitable language for web, backend, or emerging applications.

JavaScriptPHPPython
0 likes · 7 min read
Which Open‑Source Language to Learn Next? PHP, Python, JavaScript, Ruby & Go Compared
dbaplus Community
dbaplus Community
Nov 28, 2018 · Databases

Boost MySQL Performance: How to Use the PHP Rebuilt Percona PT‑kill with Email & WeChat Alerts

This guide introduces a PHP‑based reimplementation of Percona’s PT‑kill tool that not only terminates long‑running MySQL queries but also adds email and WeChat notifications, explains installation prerequisites, detailed command‑line options, example usages, configuration steps, and how to customize alerts and logging.

AlertingDatabase MonitoringMySQL
0 likes · 8 min read
Boost MySQL Performance: How to Use the PHP Rebuilt Percona PT‑kill with Email & WeChat Alerts
21CTO
21CTO
Nov 28, 2018 · Backend Development

Why Laravel’s Powerful Features Can Supercharge Your PHP Development

This article introduces Laravel, a modern PHP framework, highlighting its MVC architecture, robust ORM, Blade templating, streamlined routing, controller organization, and built‑in authentication, while providing code examples to show how these features boost developer productivity.

BladeLaravelORM
0 likes · 6 min read
Why Laravel’s Powerful Features Can Supercharge Your PHP Development
Python Programming Learning Circle
Python Programming Learning Circle
Oct 27, 2018 · Backend Development

Mastering PHP Page Caching: From Full Static Pages to Opcode and Memcached

This article explains various PHP caching techniques—including full‑page static generation, partial page fragments, data and query caching, time‑based and content‑change strategies, as well as memory caches like Memcached, Apache cache settings, APC extension, and opcode caching—providing code examples and practical guidance to improve web performance.

ApacheBackendMemcached
0 likes · 7 min read
Mastering PHP Page Caching: From Full Static Pages to Opcode and Memcached
21CTO
21CTO
Oct 23, 2018 · Backend Development

Simplify PHP Environment Variables with vlucas/phpdotenv

This guide explains how to manage PHP environment variables using the vlucas/phpdotenv library, covering .env file conventions, Composer installation, and code snippets to load and access variables, making configuration handling in development simple and secure.

BackendConfigurationPHP
0 likes · 3 min read
Simplify PHP Environment Variables with vlucas/phpdotenv
Efficient Ops
Efficient Ops
Oct 13, 2018 · Big Data

Boost Your Kafka Integration with KafkaBridge: Multi-Language SDK Overview

KafkaBridge is a lightweight, multi-language SDK that simplifies Kafka read/write operations, offering unified interfaces, long‑connection reuse for PHP‑FPM, and reliable message delivery, with detailed compilation steps, usage examples, and performance benchmarks across C++, Python, PHP, and Go.

C++KafkaPHP
0 likes · 7 min read
Boost Your Kafka Integration with KafkaBridge: Multi-Language SDK Overview
MaGe Linux Operations
MaGe Linux Operations
Sep 26, 2018 · Backend Development

Step-by-Step Guide to Building an LNMP Stack with SSL and Auth

This tutorial walks you through installing and configuring Nginx, MariaDB, PHP‑FPM, setting up a Xiaomi‑style website, securing the server with self‑signed SSL certificates, and adding basic HTTP authentication, complete with command‑line examples and configuration snippets.

LNMPLinuxMySQL
0 likes · 7 min read
Step-by-Step Guide to Building an LNMP Stack with SSL and Auth
Python Programming Learning Circle
Python Programming Learning Circle
Sep 20, 2018 · Backend Development

Why Adopt a Personal PHP Coding Standard? Boost Efficiency and Readability

This article explains the importance of establishing personal PHP coding standards, covering benefits such as increased efficiency, readability, professionalism, and team collaboration, and provides detailed guidelines on file and folder naming, class and method conventions, indentation, comment styles, directory structure, and overall code style best practices.

Code stylePHPbest practices
0 likes · 12 min read
Why Adopt a Personal PHP Coding Standard? Boost Efficiency and Readability
21CTO
21CTO
Sep 15, 2018 · Backend Development

Why HHVM Is Dropping PHP Support and What It Means for Developers

Facebook's HHVM team announced that version 3.30 will be the last to support PHP, outlining a timeline for dropping PHP, recommending migration to Hack or PHP 7, and detailing 2018‑19 open‑source plans to ease the transition and improve tooling.

BackendPHPPerformance
0 likes · 4 min read
Why HHVM Is Dropping PHP Support and What It Means for Developers
21CTO
21CTO
Sep 6, 2018 · Backend Development

What’s New in Laravel 5.7? Explore Updated Resources, Pagination & More

Laravel 5.7 has been officially released, bringing a revamped resources directory, a new pagination method to control link counts, improved Eloquent error messages, and ongoing bug and security fixes, with details on the updated folder layout and usage examples.

LaravelPHPframework
0 likes · 3 min read
What’s New in Laravel 5.7? Explore Updated Resources, Pagination & More
360 Quality & Efficiency
360 Quality & Efficiency
Aug 24, 2018 · Backend Development

Backend Development Solutions for MySQL Data Storage, SMTP Email, Outlook Compatibility, and pChart Image Generation

This article summarizes practical backend techniques for storing associative arrays in MySQL using PHP serialization or JSON, sending reliable SMTP emails with PHPMailer, handling Outlook HTML and image display issues, and generating charts with the pChart library, providing code examples and configuration tips.

BackendBase64PHP
0 likes · 9 min read
Backend Development Solutions for MySQL Data Storage, SMTP Email, Outlook Compatibility, and pChart Image Generation
Python Programming Learning Circle
Python Programming Learning Circle
Aug 18, 2018 · Backend Development

How to Split Laravel Routes into Multiple Files for Cleaner Backend Architecture

This guide explains why and how to split Laravel's routes.php into multiple module‑based files using a customized RouteServiceProvider, shows the necessary code, folder layout, and demonstrates that caching with php artisan route:cache preserves performance while keeping the backend clean and maintainable.

LaravelPHPRoute Organization
0 likes · 4 min read
How to Split Laravel Routes into Multiple Files for Cleaner Backend Architecture
37 Interactive Technology Team
37 Interactive Technology Team
Aug 16, 2018 · Backend Development

Investigating Intermittent Memcache set/add Failures in PHP Memcache Extension 2.2.7

The intermittent set/add failures observed with PHP’s Memcache extension 2.2.7 are caused by its built‑in 15‑second retry interval (MMC_DEFAULT_RETRY = 15) that marks the connection permanently failed after a poll timeout, and can be resolved by specifying the hidden fourth ‘timeoutms’ parameter, adjusting php.ini, or migrating to the newer Memcached extension.

BackendPHPconnection timeout
0 likes · 6 min read
Investigating Intermittent Memcache set/add Failures in PHP Memcache Extension 2.2.7
Beike Product & Technology
Beike Product & Technology
Aug 15, 2018 · Backend Development

Applying Yii2 Model Validation with Scenarios and Rules

This article explains how Yii2 uses validators and scenario configurations to perform comprehensive data validation in PHP models, illustrating the approach with a complete code example, detailed rule definitions, and guidance on using on/except, message, and scenarios methods.

BackendModelPHP
0 likes · 7 min read
Applying Yii2 Model Validation with Scenarios and Rules
Python Programming Learning Circle
Python Programming Learning Circle
Aug 8, 2018 · Backend Development

Why Laravel Dominates PHP: Key Features and Code Samples

This article explains why Laravel has become the most successful PHP framework by highlighting its modular architecture, micro‑service support, routing, middleware, caching, authentication, billing integration, task automation, encryption, event handling, pagination, ORM, testing, and queue features, all illustrated with clear code examples.

LaravelORMPHP
0 likes · 7 min read
Why Laravel Dominates PHP: Key Features and Code Samples