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.
Modern PHPDoc Annotations

Modern PHPDoc Annotations

38
Comments 1
18 min read
WP Snippet #004 Custom option pages with acf.

WP Snippet #004 Custom option pages with acf.

5
Comments
3 min read
PHP 8 goodies

PHP 8 goodies

7
Comments
5 min read
What a template engine should and shouldn't be

What a template engine should and shouldn't be

9
Comments
4 min read
PHP vs Java: Which Is Better For Web Development

PHP vs Java: Which Is Better For Web Development

8
Comments
4 min read
Working with custom exceptions in namespaced files

Working with custom exceptions in namespaced files

6
Comments
2 min read
About mothers, builders, and how to reduce duplication in your tests

About mothers, builders, and how to reduce duplication in your tests

16
Comments
6 min read
Try PHP 8.0 beta features with Docker / Kubernetes

Try PHP 8.0 beta features with Docker / Kubernetes

9
Comments
3 min read
Harmony Modern Slim Boilerplate - Part 1

Harmony Modern Slim Boilerplate - Part 1

4
Comments
1 min read
Keep Nested Resource Routes Succint With The Shallow Option in Laravel

Keep Nested Resource Routes Succint With The Shallow Option in Laravel

6
Comments 2
2 min read
Autoload classes in PHP

Autoload classes in PHP

7
Comments 3
1 min read
10 Symfony Testing Tips

10 Symfony Testing Tips

32
Comments 2
8 min read
How to instantiate a PHP class, write properties, methods, static properties and more

How to instantiate a PHP class, write properties, methods, static properties and more

6
Comments
2 min read
Old school developer vs new school developer

Old school developer vs new school developer

4
Comments 1
3 min read
Typed Properties In PHP Are Neato

Typed Properties In PHP Are Neato

10
Comments 1
2 min read
Laravel Mobile Verification

Laravel Mobile Verification

11
Comments
2 min read
WordPress Monthly Dev Digest #014

WordPress Monthly Dev Digest #014

21
Comments
4 min read
Creating an FFI-compatible C-ABI library in Rust

Creating an FFI-compatible C-ABI library in Rust

18
Comments 3
13 min read
Entendendo Elixir com ajuda de PHP

Entendendo Elixir com ajuda de PHP

25
Comments 7
15 min read
PHP - please do not use ! and empty() if you can help it

PHP - please do not use ! and empty() if you can help it

10
Comments 1
3 min read
PHP 7.4 in prod at last

PHP 7.4 in prod at last

4
Comments 4
1 min read
Take advantage of real-time notifications to automate application monitoring

Take advantage of real-time notifications to automate application monitoring

8
Comments
2 min read
Just released: dadjokes microservice for testing

Just released: dadjokes microservice for testing

7
Comments
1 min read
How Recursion works behind the scene in PHP

How Recursion works behind the scene in PHP

6
Comments 6
2 min read
How To Validate GitHub Webhooks With Laravel and PHP

How To Validate GitHub Webhooks With Laravel and PHP

17
Comments 2
3 min read
Creating Your Own Artisan in PHP

Creating Your Own Artisan in PHP

11
Comments 1
5 min read
Factory Design Pattern

Factory Design Pattern

8
Comments
2 min read
Strategy Design Pattern

Strategy Design Pattern

8
Comments
2 min read
Singleton and Multiton Design Patterns

Singleton and Multiton Design Patterns

7
Comments
2 min read
How to Scrape a website using PHP?

How to Scrape a website using PHP?

5
Comments 2
2 min read
Laravel custom Pivot Model events (many-to-many relationship)

Laravel custom Pivot Model events (many-to-many relationship)

12
Comments 2
2 min read
Use PHP-Parser to test PHP before eval()

Use PHP-Parser to test PHP before eval()

2
Comments
1 min read
Go for PHP or Any Other Developer

Go for PHP or Any Other Developer

8
Comments
7 min read
PHP Patterns Part 1 - Repository Pattern

PHP Patterns Part 1 - Repository Pattern

5
Comments
2 min read
How to organize dynamic attributes/properties of products specification?

How to organize dynamic attributes/properties of products specification?

6
Comments 2
1 min read
Creating eCommerce Sites Using Symfony Framework

Creating eCommerce Sites Using Symfony Framework

6
Comments
1 min read
Laravel clear all cache with one command

Laravel clear all cache with one command

16
Comments 1
1 min read
Creating a project/web application of student test in which we collect inputs from “Form” and will store them in DB

Creating a project/web application of student test in which we collect inputs from “Form” and will store them in DB

3
Comments 2
1 min read
Refactoring "if" statements with lookup arrays in PHP/Laravel

Refactoring "if" statements with lookup arrays in PHP/Laravel

12
Comments 2
1 min read
The impact of migrating from PHP to Golang

The impact of migrating from PHP to Golang

10
Comments 9
7 min read
Could PHP fade away near future?

Could PHP fade away near future?

5
Comments 4
1 min read
Secure authentication in Nuxt SPA with Laravel as back-end

Secure authentication in Nuxt SPA with Laravel as back-end

112
Comments 89
11 min read
Data Transfer Object (DTO) in Laravel with PHP7.4 typed properties

Data Transfer Object (DTO) in Laravel with PHP7.4 typed properties

46
Comments
2 min read
Recent Interview Experience

Recent Interview Experience

4
Comments 1
2 min read
SEO Cheat Sheet #2: Page Speed & Image Optimization

SEO Cheat Sheet #2: Page Speed & Image Optimization

10
Comments 1
4 min read
Migrating from dev.to to WordPress

Migrating from dev.to to WordPress

9
Comments
1 min read
Continuous Deploy in CircleCI to shared host 🚀

Continuous Deploy in CircleCI to shared host 🚀

8
Comments
2 min read
How to Beautify PHP Code?

How to Beautify PHP Code?

7
Comments
1 min read
Parsing complex search queries in PHP

Parsing complex search queries in PHP

7
Comments
8 min read
What is Laravel Model Observers?

What is Laravel Model Observers?

13
Comments
2 min read
How to create a maintenance system on a Symfony 4 project

How to create a maintenance system on a Symfony 4 project

6
Comments
1 min read
Laravel, Lumen dockerization

Laravel, Lumen dockerization

7
Comments
1 min read
How to deploy a laravel application using nginx on ubuntu

How to deploy a laravel application using nginx on ubuntu

19
Comments 4
5 min read
Install composer in custom Docker image

Install composer in custom Docker image

21
Comments 10
1 min read
PHP snippet #003

PHP snippet #003

5
Comments
1 min read
Symfony on a lambda: sessions

Symfony on a lambda: sessions

6
Comments
5 min read
VueJS & neoan3: a love story.

VueJS & neoan3: a love story.

9
Comments
4 min read
Create charts in Laravel with eloquent and Larapex Charts

Create charts in Laravel with eloquent and Larapex Charts

23
Comments 29
5 min read
What is an HMAC?

What is an HMAC?

30
Comments 2
4 min read
Go vs PHP for short JSON-retrieving code

Go vs PHP for short JSON-retrieving code

33
Comments 6
2 min read
loading...