It's an old article and feature from Laravel 9 era, but still one that raises questions and needs careful consideration before you use it:
Should you encrypt your environment files and commit them?
https://securinglaravel.com/security-tip-encrypting-environment/#Laravel