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.
Effortless Flash Messages in PHP: A Powerful Package for Session-Based Notifications

Effortless Flash Messages in PHP: A Powerful Package for Session-Based Notifications

1
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é — 10 January 2025 — A look at Symfony, Drupal, PHP, and other programming news!

Symfony Station Communiqué — 10 January 2025 — A look at Symfony, Drupal, PHP, and other programming news!

1
Comments
8 min read
🚀 Introducing DataForge: A Laravel-Based Framework to Transform Backend Development

🚀 Introducing DataForge: A Laravel-Based Framework to Transform Backend Development

1
Comments 2
1 min read
916. Word Subsets

916. Word Subsets

2
Comments
3 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
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
Laravel 11 Product Add to Cart Functionality Example

Laravel 11 Product Add to Cart Functionality Example

1
Comments
2 min read
Tell Don't Ask principle explained

Tell Don't Ask principle explained

Comments
1 min read
2185. Counting Words With a Given Prefix

2185. Counting Words With a Given Prefix

1
Comments
2 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
Understanding Closures in PHP: Key Differences and Use Cases

Understanding Closures in PHP: Key Differences and Use Cases

Comments
4 min read
How to Manage Database Migrations in PHP

How to Manage Database Migrations in PHP

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 MVC Architecture and How to Implement It in PHP

Understanding MVC Architecture and How to Implement It in PHP

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
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
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
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
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
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
loading...