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 8 Eloquent Query first() and firstOrFail() Example

Laravel 8 Eloquent Query first() and firstOrFail() Example

14
Comments
1 min read
Laravel 8 and 9 User Impersonation Example

Laravel 8 and 9 User Impersonation Example

5
Comments
3 min read
Laravel 8 Eloquent firstOr() Example

Laravel 8 Eloquent firstOr() Example

5
Comments
1 min read
Laravel 8 Eloquent firstOrNew() Example

Laravel 8 Eloquent firstOrNew() Example

5
Comments
2 min read
Laravel 8 Eloquent updateOrCreate() Example

Laravel 8 Eloquent updateOrCreate() Example

10
Comments
2 min read
Laravel 8 wherein() Query Example

Laravel 8 wherein() Query Example

3
Comments
2 min read
Eloquent Tips and Tricks - Laravel

Eloquent Tips and Tricks - Laravel

7
Comments
2 min read
API Integration Challenges

API Integration Challenges

4
Comments
2 min read
PHP - Installation on Linux Based Operating System

PHP - Installation on Linux Based Operating System

7
Comments
2 min read
WooCommerce discounts plugin

WooCommerce discounts plugin

3
Comments
1 min read
Header request with underscore is not allowed?

Header request with underscore is not allowed?

5
Comments
1 min read
writing command line scripts in php: part 2; reading STDIN

writing command line scripts in php: part 2; reading STDIN

6
Comments
4 min read
Why did we build DECK? 💡

Why did we build DECK? 💡

5
Comments
2 min read
How To Start Using Generic Types In PHP

How To Start Using Generic Types In PHP

30
Comments 2
6 min read
Estilo de código no PHP: as recomendações da PSR-1 e PSR-12

Estilo de código no PHP: as recomendações da PSR-1 e PSR-12

16
Comments 2
4 min read
Setup websocket server for your project - Laravel

Setup websocket server for your project - Laravel

5
Comments
1 min read
My first contribution

My first contribution

7
Comments
1 min read
A comprehensive guide on how to design future-proof controllers: Part 2

A comprehensive guide on how to design future-proof controllers: Part 2

6
Comments
7 min read
Strangler Pattern in practice

Strangler Pattern in practice

29
Comments 1
16 min read
Data Providers in PHPUnit

Data Providers in PHPUnit

2
Comments
2 min read
Muti-PHP Docker Environment

Muti-PHP Docker Environment

12
Comments
1 min read
How to use Docker to work locally on WordPress websites with different PHP versions in MacOS

How to use Docker to work locally on WordPress websites with different PHP versions in MacOS

7
Comments 2
5 min read
Symfony Station Communiqué - 1 April 2022. A look at Symfony, PHP, and Cybersecurity News!

Symfony Station Communiqué - 1 April 2022. A look at Symfony, PHP, and Cybersecurity News!

4
Comments
13 min read
LEMP and LAMP stack? 🤔

LEMP and LAMP stack? 🤔

3
Comments 2
1 min read
Eloquent Subquery Enhancements - Laravel

Eloquent Subquery Enhancements - Laravel

9
Comments
2 min read
accessing google's api from your laravel api

accessing google's api from your laravel api

34
Comments 2
25 min read
Takeaways from a Testing and Refactoring Conference (apart from the T-Shirt)

Takeaways from a Testing and Refactoring Conference (apart from the T-Shirt)

22
Comments 3
6 min read
PHP Curl Get Request with Parameters Example

PHP Curl Get Request with Parameters Example

11
Comments
2 min read
Exemplos de uso da api do cpanel

Exemplos de uso da api do cpanel

3
Comments 2
1 min read
Handle Multiple Exceptions with PHP 7.1

Handle Multiple Exceptions with PHP 7.1

7
Comments
1 min read
A WordPress alternative called SilverStripe

A WordPress alternative called SilverStripe

6
Comments
3 min read
3 nices features on PHP8.0

3 nices features on PHP8.0

7
Comments
2 min read
Global scope in Laravel, the easy way.

Global scope in Laravel, the easy way.

9
Comments
1 min read
I built a receipt printer for GitHub issues

I built a receipt printer for GitHub issues

110
Comments 6
6 min read
Laravel cron scheduling and its secrets

Laravel cron scheduling and its secrets

8
Comments
4 min read
Why is Laravel PHP Framework Perfect for Your Web Development Project?

Why is Laravel PHP Framework Perfect for Your Web Development Project?

4
Comments
2 min read
Padrões de Projeto em PHP: Singleton

Padrões de Projeto em PHP: Singleton

9
Comments 1
2 min read
API Client Design Across Languages - Part 2 - Making Requests

API Client Design Across Languages - Part 2 - Making Requests

9
Comments
5 min read
Laravel 8 Eloquent pluck() Example

Laravel 8 Eloquent pluck() Example

10
Comments 1
2 min read
Integrate Sweetalert 2 with Ajax in Laravel 8

Integrate Sweetalert 2 with Ajax in Laravel 8

8
Comments 1
3 min read
Set Xdebug coverage for Laravel

Set Xdebug coverage for Laravel

19
Comments 1
2 min read
Laravel 8 Eloquent firstOrCreate() Example

Laravel 8 Eloquent firstOrCreate() Example

6
Comments
1 min read
How To Delete Multiple Records using Checkbox in Laravel 8

How To Delete Multiple Records using Checkbox in Laravel 8

12
Comments
4 min read
How to buffer text to the client with PHP

How to buffer text to the client with PHP

5
Comments
1 min read
Delete Record using jQuery Ajax in Laravel 8

Delete Record using jQuery Ajax in Laravel 8

8
Comments
2 min read
Integrate Bootbox Alert & Confirmation with Ajax in Laravel 8

Integrate Bootbox Alert & Confirmation with Ajax in Laravel 8

6
Comments
3 min read
How to Remove Last Element from Array in Javascript?

How to Remove Last Element from Array in Javascript?

6
Comments
1 min read
Delete Record in Laravel 8

Delete Record in Laravel 8

11
Comments
2 min read
Use Guard Clauses for Cleaner Code

Use Guard Clauses for Cleaner Code

25
Comments 1
3 min read
Como instalar o PHP 8 no Windows

Como instalar o PHP 8 no Windows

33
Comments
3 min read
The Difference Between Service Classes and Traits in PHP

The Difference Between Service Classes and Traits in PHP

13
Comments 2
3 min read
Laravel's "rescue" Helper Function is Amazing

Laravel's "rescue" Helper Function is Amazing

8
Comments 1
3 min read
Don't Use Service Classes with Static Methods

Don't Use Service Classes with Static Methods

9
Comments 1
2 min read
Tips Before Moving Laravel App to Production

Tips Before Moving Laravel App to Production

14
Comments
1 min read
How to Create a Custom Dynamic Middleware for Spatie Laravel Permission

How to Create a Custom Dynamic Middleware for Spatie Laravel Permission

10
Comments 1
2 min read
Laravel 8 User Roles and Permissions Step by Step Tutorial

Laravel 8 User Roles and Permissions Step by Step Tutorial

14
Comments 2
23 min read
Laravel 8 Seeder Tutorial and Example

Laravel 8 Seeder Tutorial and Example

9
Comments
2 min read
Jquery Table Check All Plugin

Jquery Table Check All Plugin

6
Comments
5 min read
Laravel 8 - How To Get Routes in Controller

Laravel 8 - How To Get Routes in Controller

7
Comments
1 min read
Laravel 8 Pagination Example using Bootstrap 5

Laravel 8 Pagination Example using Bootstrap 5

10
Comments
4 min read
loading...