Configure using Dotenv (.env)
mainTo use environment variables for configuration, install vlucas/phpdotenv:
composer require vlucas/phpdotenvCreate a .env file in your project root. Note that if TOKEN_BASED_AUTH is set to true, the JIRA_USER and JIRA_PASS settings are ignored in favor of PERSONAL_ACCESS_TOKEN.
Note on Authentication: Basic auth with passwords is deprecated by Atlassian. It is recommended to use an API token instead of a password.