capabilities.work

Read a site's .env file

One step with Laravel. We can help you get access.

Look something up

Read a site's .env file

with Laravel

Use Laravel: its Forge Sites API lets you read a site's .env file in a single step (GET /orgs/{organization}/servers/{server}/sites/{site}/environment). capabilities.work can help you get signed up and connected.

  • Can I read the current .env file of a site?
  • What environment variables is my site configured with?
Say it to your AI assistant
  • Show the .env contents of site {site} on server {server} in {organization}.
  • Fetch the environment file for site {site} on {server} in {organization}.
For your developer

GET /orgs/{organization}/servers/{server}/sites/{site}/environment in Forge Sites API. Full spec on APIs.io.