PHP

Instructions for connecting your PHP apps and deploying them on ToyStack

Step 1: Import your Git repository

Go to the ToyStack Dashboard and create a new project using your repository.

Step 2: Select PHP as your Framework Preset

ToyStack can automatically deploy your PHP projects. Simply select PHP as the preset while deploying the application.

If you run into issues or you'd like to use your custom configuration, you can use DOCKER as the framework instead. You can read more about it in the Deploying with Docker page.

Step 3: Specify Build Commands

There may be framework specific build commands that are needed for your application. You can specify that in the configuration.

Step 4: Input environment variables

Please ensure the PORT number matches the one specified in your app orDockerfile

For detailed instructions, please see the Environment Variables page.

Step 4: Deploy

Simply select the branch you want to deploy, its deployment validity and ToyStack will deploy it

Last updated