Use a .env file to store all login details e.g. for databases and add the file to .gitignore Access the env properties with a composer package and the $_ENV superglobal
Use a .env file to store all login details e.g. for databases and add the file to .gitignore Access the env properties with a composer package and the $_ENV superglobal