PHP Storm and Laravel Pint
UPDATE AUGUST 2023 The latest version of PhpStorm, 2023.2, now includes support for Laravel Pint as part of its quality tools suite. This integration means that code style feedback...
Testing PHP SoapClient
When working with PHP’s soap client, it can be useful to see the actual XML that is being sent to and received from the remote web service. By default, the...
Using image format webp in 2023
WebP is an image format developed by Google that provides efficient compression of digital images while maintaining high quality. It uses both lossless and lossy compression techniques and is designed...
Eloquent, order by relationship and eager loading
This question comes up now and again. How to order a query results on a one-to-one relationship in Eloquent. Since with() is creating another query Eloquent does not know...
Eloquent, Postgres, UUIDs and not getting id's back
Postgres has an excellent column type for using UUIDs as primary keys. The UUIDs are generated default by Postgres. There is a small caveat working with UUIDs as primary keys...