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.
Laravel Tip: whereHas or whereRelation?

Laravel Tip: whereHas or whereRelation?

Comments
1 min read
Joomla tip: Use the Joomla\Uri\Uri class to create a URL.

Joomla tip: Use the Joomla\Uri\Uri class to create a URL.

Comments
2 min read
Laravel Eloquent ORM in Bangla Part-5 (Inserting and Updating Models)

Laravel Eloquent ORM in Bangla Part-5 (Inserting and Updating Models)

Comments
1 min read
Laravel Eloquent ORM in Bangla Part-6 (Deleting Models)

Laravel Eloquent ORM in Bangla Part-6 (Deleting Models)

Comments
1 min read
Laravel Eloquent ORM in Bangla Part-7 (Pruning Models)

Laravel Eloquent ORM in Bangla Part-7 (Pruning Models)

Comments
1 min read
Using Laravel Dusk to download Paddle payout PDFs

Using Laravel Dusk to download Paddle payout PDFs

Comments
2 min read
How to generate fake data using factory tinker in laravel 11 Example

How to generate fake data using factory tinker in laravel 11 Example

1
Comments
1 min read
2425. Bitwise XOR of All Pairings

2425. Bitwise XOR of All Pairings

Comments
4 min read
Prevent HTTP Response Splitting in Laravel: Tips & Examples

Prevent HTTP Response Splitting in Laravel: Tips & Examples

2
Comments
3 min read
Filling a 10 Million Image Grid with PHP for Internet History

Filling a 10 Million Image Grid with PHP for Internet History

Comments
6 min read
How to Resolve the 'Permission Denied' Error in PHP File Handling

How to Resolve the 'Permission Denied' Error in PHP File Handling

5
Comments
3 min read
2429. Minimize XOR

2429. Minimize XOR

Comments
3 min read
The Ultimate PHP QR Code Library

The Ultimate PHP QR Code Library

1
Comments
2 min read
2657. Find the Prefix Common Array of Two Arrays

2657. Find the Prefix Common Array of Two Arrays

Comments
4 min read
Laravel 11.30: A Leap Forward in Testing, Model IDs, and Authorization

Laravel 11.30: A Leap Forward in Testing, Model IDs, and Authorization

Comments
2 min read
How to Effectively Manage Laravel Request Validation?

How to Effectively Manage Laravel Request Validation?

Comments
3 min read
3223. Minimum Length of String After Operations

3223. Minimum Length of String After Operations

Comments
3 min read
How to Image Upload with CKeditor in Laravel 11 Tutorial

How to Image Upload with CKeditor in Laravel 11 Tutorial

1
Comments
2 min read
How to Install and Use Trix Editor in Laravel 11

How to Install and Use Trix Editor in Laravel 11

Comments
2 min read
Testing Temporary URLs in Laravel Storage

Testing Temporary URLs in Laravel Storage

Comments
3 min read
2116. Check if a Parentheses String Can Be Valid

2116. Check if a Parentheses String Can Be Valid

Comments
4 min read
Enforcing Strong Passwords in Laravel

Enforcing Strong Passwords in Laravel

Comments
2 min read
API Vulnerabilities in Laravel: Identify & Secure Your Endpoints

API Vulnerabilities in Laravel: Identify & Secure Your Endpoints

2
Comments
3 min read
WordPress Categories with post count

WordPress Categories with post count

1
Comments
1 min read
Code Smell 286 - Overlapping Methods

Code Smell 286 - Overlapping Methods

Comments
12 min read
"PHP is dead⚰️" .. what's next? Is Laravel worth it? 😎

"PHP is dead⚰️" .. what's next? Is Laravel worth it? 😎

Comments
3 min read
LTS as a Business: How an Old Project Can Become the Foundation for a New Business Model

LTS as a Business: How an Old Project Can Become the Foundation for a New Business Model

Comments
2 min read
The Importance of Writing Meaningful Code and Documentation

The Importance of Writing Meaningful Code and Documentation

3
Comments
2 min read
How to Fix the "PHP Not Found" Error on macOS After Installing XAMPP

How to Fix the "PHP Not Found" Error on macOS After Installing XAMPP

5
Comments
3 min read
Sending logs to Telegram. Module for Laravel

Sending logs to Telegram. Module for Laravel

1
Comments
2 min read
Host Header Injection in Laravel: Risks and Prevention

Host Header Injection in Laravel: Risks and Prevention

3
Comments
3 min read
CodeIgniter Monitoring Library – Born from Understanding Real Developer Needs

CodeIgniter Monitoring Library – Born from Understanding Real Developer Needs

1
Comments
4 min read
🚀 Supercharge Your PHP Projects with FileSizeHandler: A Flexible and Extensible File Size Utility

🚀 Supercharge Your PHP Projects with FileSizeHandler: A Flexible and Extensible File Size Utility

2
Comments
3 min read
Day 6: Building APIs with Laravel Sanctum

Day 6: Building APIs with Laravel Sanctum

Comments
2 min read
Fix Insufficient Logging & Monitoring in Laravel Easily

Fix Insufficient Logging & Monitoring in Laravel Easily

2
Comments
3 min read
How to Disable WordPress RSS Feeds

How to Disable WordPress RSS Feeds

Comments
3 min read
Leveraging Social Media to Attract Top PHP Developers

Leveraging Social Media to Attract Top PHP Developers

Comments
4 min read
How to Optimize Large JSON Files for Use with ChatGPT API?

How to Optimize Large JSON Files for Use with ChatGPT API?

Comments
3 min read
How to Build a Generic CRUD Controller in Laravel for Multiple Resources

How to Build a Generic CRUD Controller in Laravel for Multiple Resources

Comments
2 min read
Trabajar con variables como si fuesen objetos

Trabajar con variables como si fuesen objetos

Comments
2 min read
Path Manipulation in Laravel: Secure Your App from Vulnerabilities

Path Manipulation in Laravel: Secure Your App from Vulnerabilities

2
Comments
3 min read
What is the current market demand for Laravel?

What is the current market demand for Laravel?

Comments
1 min read
Laravel Eloquent ORM in Bangla Part-1(Generating Model Classes)

Laravel Eloquent ORM in Bangla Part-1(Generating Model Classes)

Comments
1 min read
Laravel route alternatives

Laravel route alternatives

Comments
2 min read
PHP is Not Bad, So Why Is It Not Well-Received?

PHP is Not Bad, So Why Is It Not Well-Received?

11
Comments 6
7 min read
Introduzindo o Lithe SwissHelper: Simplificando o Desenvolvimento em PHP

Introduzindo o Lithe SwissHelper: Simplificando o Desenvolvimento em PHP

Comments
3 min read
Static methods in a PHP project: a good idea or a bad one?

Static methods in a PHP project: a good idea or a bad one?

Comments
2 min read
How to Set Up Laravel in a Subfolder Using Traefik

How to Set Up Laravel in a Subfolder Using Traefik

Comments
1 min read
The anatomy of smart search in Joomla 5. Creating a plugin Part 3

The anatomy of smart search in Joomla 5. Creating a plugin Part 3

Comments
13 min read
Mastering Conditional Logic in Laravel with `when()` and `unless()` Methods: Real-Life Examples

Mastering Conditional Logic in Laravel with `when()` and `unless()` Methods: Real-Life Examples

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

PHP OOP Part-2: Constructor and Destructor

Comments
4 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
🚇 Backend Roadmap Progress and Digging Code Updates

🚇 Backend Roadmap Progress and Digging Code Updates

Comments
2 min read
Php Base64 encode/decode – best practices and use cases

Php Base64 encode/decode – best practices and use cases

3
Comments 1
6 min read
Example of using Late Static Binding in PHP.

Example of using Late Static Binding in PHP.

Comments 1
2 min read
Understanding PHP Development and Why It’s Still Relevant Today

Understanding PHP Development and Why It’s Still Relevant Today

4
Comments 1
7 min read
Day 5: Use Supabase with Laravel

Day 5: Use Supabase with Laravel

Comments
2 min read
loading...