PHP

Air Traffic Control: Routing microservices with a single Nginx server (sarah-savage.com)

In my last post I talked about linking microservices together inside a single Docker network for easy communication between the services. For web developers, this poses an interesting problem: if we want to access the services from our local machines, we need to deal with the fact that we can't have multiple machines bound to

PHP's Magic Methods | php[architect] (www.phparch.com)

As PHP developers, we need to know a lot of language features to make our code easy to write and maintain. Without explicitly being told about a part of the language, it’s hard to even know it exists, so today, we’re going to discuss the magic methods our classes have and how we should use […]

How to Handle Getters When They Have Nothing to Return? (phpfashion.com)

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…

Cool features of Swiss Knife (tomasvotruba.com)

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...

Get Quick Error Count for each PHPStan level (tomasvotruba.com)

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?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • khanakhh
  • slotface
  • Durango
  • rosin
  • thenastyranch
  • kavyap
  • GTA5RPClips
  • everett
  • JUstTest
  • ethstaker
  • cubers
  • tacticalgear
  • tester
  • modclub
  • ngwrru68w68
  • provamag3
  • normalnudes
  • cisconetworking
  • Leos
  • megavids
  • anitta
  • lostlight
  • All magazines