DEV Community

PHP

Home for all the PHP-related posts on Dev.to!

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Battle of the Local Development: ServBay vs. MAMP

Battle of the Local Development: ServBay vs. MAMP

6
Comments
4 min read
PHP OOP Part-7: Composition vs Inheritance and Dependency Injection

PHP OOP Part-7: Composition vs Inheritance and Dependency Injection

Comments
6 min read
PHP OOP Part-2: Constructor and Destructor

PHP OOP Part-2: Constructor and Destructor

Comments
4 min read
PHP OOP Part-1: Introduction, Object, and Class

PHP OOP Part-1: Introduction, Object, and Class

Comments
3 min read
PHP OOP Part-3: Access modifier, Encapsulation and Inheritance

PHP OOP Part-3: Access modifier, Encapsulation and Inheritance

Comments
4 min read
PHP OOP Part-4: Static property, method and this vs self

PHP OOP Part-4: Static property, method and this vs self

Comments
6 min read
PHP OOP Part-5: Abstraction and Interface

PHP OOP Part-5: Abstraction and Interface

Comments
5 min read
How Can Help You in This Cron JOB Code?

How Can Help You in This Cron JOB Code?

Comments
3 min read
Laravel Authentication Using Passport

Laravel Authentication Using Passport

Comments
3 min read
PHP OOP Part-6: Polymorphism

PHP OOP Part-6: Polymorphism

1
Comments
4 min read
2559. Count Vowel Strings in Ranges

2559. Count Vowel Strings in Ranges

Comments
3 min read
Building a PSR-11 Compatible Dependency Injection Container with PHP 8.4 Lazy Objects

Building a PSR-11 Compatible Dependency Injection Container with PHP 8.4 Lazy Objects

Comments
4 min read
How to Test for Equal JSON Columns in Laravel Models

How to Test for Equal JSON Columns in Laravel Models

1
Comments
2 min read
PHP 8.4: Top Features and Improvements

PHP 8.4: Top Features and Improvements

Comments
6 min read
PHP, Python, Node.js, which one is the most suitable for writing crawlers?

PHP, Python, Node.js, which one is the most suitable for writing crawlers?

Comments
5 min read
1422. Maximum Score After Splitting a String

1422. Maximum Score After Splitting a String

Comments
3 min read
Day 5: Use Supabase with Laravel

Day 5: Use Supabase with Laravel

Comments
2 min read
PHP 8.x Features You Should Be Using in 2025

PHP 8.x Features You Should Be Using in 2025

2
Comments
4 min read
983. Minimum Cost For Tickets

983. Minimum Cost For Tickets

Comments
5 min read
2466. Count Ways To Build Good Strings

2466. Count Ways To Build Good Strings

Comments
3 min read
Build Bug-Free Applications using Laravel Unit Testing

Build Bug-Free Applications using Laravel Unit Testing

Comments
4 min read
Symfony Station Communiqué — 27 December 2024 — A look at Symfony, Drupal, PHP, and other programming news!

Symfony Station Communiqué — 27 December 2024 — A look at Symfony, Drupal, PHP, and other programming news!

Comments
12 min read
1639. Number of Ways to Form a Target String Given a Dictionary

1639. Number of Ways to Form a Target String Given a Dictionary

Comments
5 min read
689. Maximum Sum of 3 Non-Overlapping Subarrays

689. Maximum Sum of 3 Non-Overlapping Subarrays

Comments
3 min read
1014. Best Sightseeing Pair

1014. Best Sightseeing Pair

Comments
2 min read
The Best PHP Frameworks to Develop Smarter Websites in 2025

The Best PHP Frameworks to Develop Smarter Websites in 2025

5
Comments 1
4 min read
Pass by Reference vs Pass by Value in PHP: What’s the REAL Difference?

Pass by Reference vs Pass by Value in PHP: What’s the REAL Difference?

Comments
1 min read
Is CodeIgniter Still Relevant in 2025?

Is CodeIgniter Still Relevant in 2025?

Comments
3 min read
Digging Code Blog is live with a fresh look and features! 🎉

Digging Code Blog is live with a fresh look and features! 🎉

Comments
1 min read
Tell Don't Ask principle explained

Tell Don't Ask principle explained

Comments
1 min read
494. Target Sum

494. Target Sum

Comments
3 min read
Sublime Text Config for Laravel

Sublime Text Config for Laravel

Comments
2 min read
SQL Injection คืออะไร? และวิธีการป้องกัน

SQL Injection คืออะไร? และวิธีการป้องกัน

Comments
1 min read
Best Practices for Structuring Large PHP Applications: A Comprehensive Guide

Best Practices for Structuring Large PHP Applications: A Comprehensive Guide

Comments
6 min read
Understanding the SOLID Principles in PHP and How They Improve Code Quality

Understanding the SOLID Principles in PHP and How They Improve Code Quality

Comments
5 min read
Understanding Closures in PHP: Key Differences and Use Cases

Understanding Closures in PHP: Key Differences and Use Cases

Comments
4 min read
Mastering Unit Testing in PHP: Tools, Frameworks, and Best Practices

Mastering Unit Testing in PHP: Tools, Frameworks, and Best Practices

Comments
5 min read
Best Practices for Secure File Uploads in PHP: Preventing Common Vulnerabilities

Best Practices for Secure File Uploads in PHP: Preventing Common Vulnerabilities

Comments
4 min read
Understanding PHP-FPM: Key Differences from Traditional PHP Processes and Benefits

Understanding PHP-FPM: Key Differences from Traditional PHP Processes and Benefits

Comments
5 min read
How Composer Works in PHP and Aids in Dependency Management

How Composer Works in PHP and Aids in Dependency Management

Comments
5 min read
Understanding MVC Architecture and How to Implement It in PHP

Understanding MVC Architecture and How to Implement It in PHP

Comments
5 min read
How to Implement Caching in PHP and Which Caching Techniques Are Best for Performance?

How to Implement Caching in PHP and Which Caching Techniques Are Best for Performance?

Comments
5 min read
How to Manage Multiple Environments (Development, Staging, Production) in PHP

How to Manage Multiple Environments (Development, Staging, Production) in PHP

Comments
5 min read
How to Manage Database Migrations in PHP

How to Manage Database Migrations in PHP

Comments
5 min read
515. Find Largest Value in Each Tree Row

515. Find Largest Value in Each Tree Row

Comments
3 min read
How to Handle API Integrations in PHP, Especially for Large Datasets and Timeouts

How to Handle API Integrations in PHP, Especially for Large Datasets and Timeouts

Comments
5 min read
Common PHP Security Issues and How to Prevent Them

Common PHP Security Issues and How to Prevent Them

Comments
5 min read
Understanding Autoloading in PHP: How to Implement and Use It Efficiently

Understanding Autoloading in PHP: How to Implement and Use It Efficiently

Comments
4 min read
Understanding PSR Standards and Their Importance in Modern PHP Development

Understanding PSR Standards and Their Importance in Modern PHP Development

Comments
5 min read
Understanding Traits in PHP and How They Differ from Inheritance

Understanding Traits in PHP and How They Differ from Inheritance

Comments
5 min read
Understanding PDO in PHP and Why It is Recommended Over `mysql_*` Functions

Understanding PDO in PHP and Why It is Recommended Over `mysql_*` Functions

Comments
4 min read
Advantages of Using Namespaces in PHP: Organizing Code and Avoiding Conflicts

Advantages of Using Namespaces in PHP: Organizing Code and Avoiding Conflicts

Comments
5 min read
Key Differences Between PHP 5.x and PHP 7.x/8.x: Performance, Features, and Improvements

Key Differences Between PHP 5.x and PHP 7.x/8.x: Performance, Features, and Improvements

Comments
4 min read
Understanding the Differences Between include, require, include_once, and require_once in PHP

Understanding the Differences Between include, require, include_once, and require_once in PHP

Comments
5 min read
How PHP Handles Error and Exception Handling: A Comprehensive Guide

How PHP Handles Error and Exception Handling: A Comprehensive Guide

Comments
4 min read
How to Optimize the Performance of a PHP Application: Best Practices and Techniques

How to Optimize the Performance of a PHP Application: Best Practices and Techniques

Comments
5 min read
How to Handle Excessive Warning Messages When Running `pecl install grpc`

How to Handle Excessive Warning Messages When Running `pecl install grpc`

Comments
3 min read
Can anyone help me with this? I'm working on xampp to setup my php using mysql. Even gtp is not able to solve this issue.

Can anyone help me with this? I'm working on xampp to setup my php using mysql. Even gtp is not able to solve this issue.

Comments
1 min read
Spotting Laravel: A Quick Guide for Identifying the Framework at a Glance

Spotting Laravel: A Quick Guide for Identifying the Framework at a Glance

Comments
2 min read
Mastering Queues and Jobs in Laravel: A Comprehensive Guide

Mastering Queues and Jobs in Laravel: A Comprehensive Guide

Comments
2 min read
loading...