spatie/data-transfer-object – Data transfer objects with batteries included

spatie/data-transfer-object library provides very easy to use data-transfer objects for PHP.  If you code is relying a lot on arrays, you’ll appreciate this different approach.  And the more complex your arrays are, the more benefit you’ll get out of it.

Using aws-cli –query Option To Simplify Output

Eric Hammond shares a super-handy tip for those of us who work with Amazon AWS via the command line:

I just learned about a recent addition to aws-cli: The --query option lets you specify what parts of the response data structure you want output.

Instead of wading through pages of JSON output, you can select a few specific values and output them as JSON, table, or simple text. The new --query option is far easier to use than jqgrep+cut, or Perl, my other fallback tools for parsing the output.

Read the rest of his blog post for a few examples of how to use it.

WordPress Configuration Cheat Sheet

WordPress Configuration Cheat Sheet” is a collection of about 10 tips for a more secure WordPress configuration file.  Obviously, not all of them can always be applied, but it’s a good idea to review your own settings once in a while and to disable unnecessary bits.

brick/math – Arbitrary-precision arithmetic library for PHP

PHP is well-known for its rather basic interpretation of precision numbers and operations on those.  BC Match extension helps, but sometimes one needs more.  brick/math is a composer-installable library that helps with arbitrary-precision arithmetic.

HTTP/3 via QUIC

As we are still trying to get the grip with HTTP/2, the world is moving on.  Here’s the blog post with some initial details on HTTP/3 and QUIC.  Turns out, we moving away from TCP to UDP with encryption.

Here are more details from the CloudFlare blog post.

Let the fear, uncertainty, and doubt begin!