PHP

1 readers
2 users here now

founded 2 years ago
1
 
 

Introduction Original Post:...

2
 
 

When reviewing a Pull Request that touched composer.json and composer.lock files you might notice...

3
 
 

When creating applications with PHP, Exceptions play a vital role in handling errors and irregularities that arise during the application lifecycle. We are going to see how to use Custom Exceptions to improve our applications.

4
 
 

How to fix the SQLSTATE[HY000] [1524] Plugin 'mysql_native_password' is not loaded errors caused in MySQL 8.4 no longer enabling the mysql_native_password plugin by default.

5
 
 

Features, performance upgrades, and deprecations in PHP 8.4

6
 
 

Tired of Boring and insecured Logins? Let's ditch the basic sign-up and sign-in systems and build a...

7
 
 

Software development often presents dilemmas, such as how to handle situations when a getter has nothing to return. In this article, we'll explore three strategies for implementing getters in PHP, which affect the structure and readability of code, each with its own specific advantages and…

8
 
 

Be it marketing or transactional emails, email address validation is a necessity, or you could risk...

9
 
 

Now you gonna put your code to do some push ups and pull ups, let's see how much your code can...

10
 
 

When using a Swiss knife, we think of a tool with many practical abilities. They're useful for different situations we might experience in the wild. Opening a box of milk? Here is a knife. Cutting wood to start a fire? Here is a chainsaw. Are the letters on the paint bucket too tiny? Try this magnifying class. Now, we apply the same approach to PHP tooling.

11
 
 

Intro I've decided to widen my horizons and learn a new programming language. In my day...

12
 
 

Habitualmente, aprendemos a criar sites em PHP com resquícios de um velho e antiquado modo de...

13
 
 

Since the release of PHP 8.0 more and more libraries, frameworks and tools have been updated to use attributes instead of annotations in PHPDocs.

14
 
 

Explore insights from PHP experts who gathered from all around the world to discuss web development innovations, embracing change, and securely maintaining our code.

15
 
 

Pest is a testing framework for PHP you can install via composer that makes writing your tests a lot easier than you think!

16
 
 

A quick guide on how to set up OPCache and fine-tune PHP-FPM.

17
18
 
 

When I come to a new project, I want to make a rough idea of what I'm dealing with in a few minutes. I usually check composer.json and measure the lines. Then, I'd love to run PHPStan and get a rough idea of the current state. But are there baselines, custom extensions, global ignores, or no PHPStan at all?

19
 
 

Introduction Some months ago I started a side project aiming for study and personal use to...

20
 
 

Attributes First class callable syntax Constructor changes Parameter changes This post is going to...

21
22
 
 

For many developers, PHP is synonymous with web development. But what if you could leverage your...

23
 
 

...and how to avoid it. Type coverage is a way to gradually add type declarations to your PHP project—step by step, one by one. It's a PHPStan package that helps you maintain a specific minimal level from 0 % to 100 %. Once we reach high coverage of 80-90 %, we feel safer. But our code can actually be in worse, even dangerous, shape.

24
 
 

Windows support for NativePHP was announced this mean, which means that you can now build applications for the Windows platform.

25
1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 
 

I have gone through all the Drupalcon sessions in Portland and selected those that I think are perfect for someone learning Drupal. Here is the result. NOTE: Did I miss anything that you think it should be highlighted here? Please let me know 😊.

view more: next ›