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.
Mastering PHP Coding: 5 Easy Hacks for Writing Clean and Efficient Code | Julio Herrera Via dei Velutini

Mastering PHP Coding: 5 Easy Hacks for Writing Clean and Efficient Code | Julio Herrera Via dei Velutini

2
Comments 1
2 min read
Check the presence of a key in an array in PHP - The right way

Check the presence of a key in an array in PHP - The right way

1
Comments
1 min read
PHP 8 News: Attributes

PHP 8 News: Attributes

2
Comments
3 min read
Be careful about the switch statement in PHP

Be careful about the switch statement in PHP

4
Comments 5
2 min read
Never use `empty` function in PHP

Never use `empty` function in PHP

30
Comments 26
2 min read
Symfony Station Communiqué — 16 February 2024. A look at Symfony, Drupal, PHP, Cybersec, and Fediverse News!

Symfony Station Communiqué — 16 February 2024. A look at Symfony, Drupal, PHP, Cybersec, and Fediverse News!

2
Comments
14 min read
The Essential Tool -- ServBay Version 1.2.2 Release Notes.

The Essential Tool -- ServBay Version 1.2.2 Release Notes.

17
Comments
2 min read
Infinite Scrolling with Livewire v3 + AlpineJS without impacting performance

Infinite Scrolling with Livewire v3 + AlpineJS without impacting performance

10
Comments
4 min read
🚀 Exploring Multiple Inheritance in Laravel/PHP 🚀

🚀 Exploring Multiple Inheritance in Laravel/PHP 🚀

3
Comments 2
1 min read
Spring Boot vs Laravel

Spring Boot vs Laravel

4
Comments 2
2 min read
Maximizing Laravel Performance: Essential Optimization Strategies for Web Developers

Maximizing Laravel Performance: Essential Optimization Strategies for Web Developers

1
Comments 1
4 min read
PHP VS Node.js

PHP VS Node.js

Comments
2 min read
Navigating Web Server Technologies: Apache, Nginx

Navigating Web Server Technologies: Apache, Nginx

Comments
2 min read
WordPress: Introducing Block Bindings, part 1: connecting custom fields

WordPress: Introducing Block Bindings, part 1: connecting custom fields

Comments
2 min read
The importance of PHP's OPcache

The importance of PHP's OPcache

2
Comments
4 min read
Create date easily in PHP

Create date easily in PHP

4
Comments 4
2 min read
Efficient PHP Function for Counting Valid Time Formats with '?' Placeholder (Turing code challenge)

Efficient PHP Function for Counting Valid Time Formats with '?' Placeholder (Turing code challenge)

Comments
2 min read
A guide to using WebSockets in Laravel

A guide to using WebSockets in Laravel

6
Comments
23 min read
Groundwork SPA with a full-fledged CRUD generator

Groundwork SPA with a full-fledged CRUD generator

1
Comments
2 min read
Introdução ao My PHP MVC Framework: Construindo seu próprio Framework PHP do zero

Introdução ao My PHP MVC Framework: Construindo seu próprio Framework PHP do zero

1
Comments
9 min read
Interface Segregation Principle (ISP) By Using PHP : SOLID Principle

Interface Segregation Principle (ISP) By Using PHP : SOLID Principle

3
Comments
4 min read
ServBay Introduction and Instructions

ServBay Introduction and Instructions

31
Comments 3
3 min read
How Laravel loads .env files

How Laravel loads .env files

Comments
3 min read
Single Responsibility Principle (SRP) By Using PHP : SOLID Principle

Single Responsibility Principle (SRP) By Using PHP : SOLID Principle

1
Comments
4 min read
Laravel 10 + NGINX + PHP-FPM - my ready to use all in one recipe for your Laravel 10 deployment in Docker

Laravel 10 + NGINX + PHP-FPM - my ready to use all in one recipe for your Laravel 10 deployment in Docker

11
Comments 2
4 min read
Dockerized Symfony 6.4 project boilerplate

Dockerized Symfony 6.4 project boilerplate

4
Comments
3 min read
Understanding $this, self, parent, and static keywords in PHP and Laravel

Understanding $this, self, parent, and static keywords in PHP and Laravel

11
Comments 2
2 min read
🕵 What You Didn't Know About AI Integration for Laravel Applications

🕵 What You Didn't Know About AI Integration for Laravel Applications

5
Comments
1 min read
PHP 8 News: Named Arguments

PHP 8 News: Named Arguments

1
Comments
2 min read
Laravel: A Comprehensive Guide to Service Container and Providers

Laravel: A Comprehensive Guide to Service Container and Providers

3
Comments 1
17 min read
Learning Path For Web Development

Learning Path For Web Development

Comments
1 min read
How to start with Laravel & REST APIs in it, I'm new to it?

How to start with Laravel & REST APIs in it, I'm new to it?

Comments 8
1 min read
Building a PHP SDK for Replicate AI

Building a PHP SDK for Replicate AI

8
Comments
7 min read
A guide to exception handling in PHP

A guide to exception handling in PHP

8
Comments
7 min read
PHP now has support for undefined!?

PHP now has support for undefined!?

Comments
2 min read
Enhancing Code Consistency with php-cs-fixer and Visual Studio Code

Enhancing Code Consistency with php-cs-fixer and Visual Studio Code

4
Comments
3 min read
5 funcionalidades uteis mais recentes do PHP

5 funcionalidades uteis mais recentes do PHP

8
Comments
9 min read
How to flatten a PHP array

How to flatten a PHP array

Comments
1 min read
Google Grant Type in Laravel with Socialite, log in with Google API

Google Grant Type in Laravel with Socialite, log in with Google API

Comments
2 min read
Building A SOLID foundation for API's in Laravel

Building A SOLID foundation for API's in Laravel

12
Comments
8 min read
A Web Editor for PHP servers

A Web Editor for PHP servers

Comments
1 min read
HydePHP Version v1.5 Released

HydePHP Version v1.5 Released

Comments
3 min read
Renaming a Column in Laravel: A Step-by-Step Guide

Renaming a Column in Laravel: A Step-by-Step Guide

21
Comments
2 min read
Storing classes with user configurable parameters in the database (with Laravel)

Storing classes with user configurable parameters in the database (with Laravel)

2
Comments
3 min read
I tried to json_decode a string in scientific notation

I tried to json_decode a string in scientific notation

2
Comments 1
2 min read
Asynchronous state machine with Symfony Workflows

Asynchronous state machine with Symfony Workflows

4
Comments 2
6 min read
DTO vs VO in PHP

DTO vs VO in PHP

20
Comments 5
4 min read
Building a Blogging Site with React and PHP: A Step-by-Step Guide

Building a Blogging Site with React and PHP: A Step-by-Step Guide

5
Comments
9 min read
Symfony Station Communiqué — 09 February 2024. A look at Symfony, Drupal, PHP, Cybersec, and Fediverse News!

Symfony Station Communiqué — 09 February 2024. A look at Symfony, Drupal, PHP, Cybersec, and Fediverse News!

2
Comments
15 min read
Tree traversal and merging with Generators

Tree traversal and merging with Generators

Comments
3 min read
Comparing Function API & Class-based Components in Laravel Livewire Volt

Comparing Function API & Class-based Components in Laravel Livewire Volt

1
Comments
1 min read
Laravel Pulse in Action

Laravel Pulse in Action

Comments
1 min read
Optimizing Laravel Performance: A Comprehensive Guide to Indexing

Optimizing Laravel Performance: A Comprehensive Guide to Indexing

Comments 1
3 min read
PHP 8 News: Nullsafe Operator

PHP 8 News: Nullsafe Operator

3
Comments
2 min read
Laravel code-quality tools

Laravel code-quality tools

13
Comments 1
23 min read
Deezer Now Playing Card

Deezer Now Playing Card

Comments
4 min read
My First Steps to learning Wordpress (connection Accerdible Credential API)

My First Steps to learning Wordpress (connection Accerdible Credential API)

Comments
5 min read
Installing PHP 8.0 on MacOS: Overcoming Disabled Versions

Installing PHP 8.0 on MacOS: Overcoming Disabled Versions

13
Comments
1 min read
Symfony Station Communiqué — 02 February 2024. A look at Symfony, Drupal, PHP, Cybersec, and Fediverse News!

Symfony Station Communiqué — 02 February 2024. A look at Symfony, Drupal, PHP, Cybersec, and Fediverse News!

1
Comments
11 min read
Mastering Code Consistency: A Guide to PHP-CS-Fixer Integration with VSCode

Mastering Code Consistency: A Guide to PHP-CS-Fixer Integration with VSCode

6
Comments
2 min read
loading...