Template repository to deploy PHP application to Vercel.
php-app-vercel
├── .github
├── api
├── public
│ ├── images
│ ├── scripts
│ └── styles
├── .env.example
├── .gitignore
├── .vercelignore
├── LICENSE
├── README.md
├── composer.json
├── composer.lock
└── vercel.json
- .github is a folder that used to place Github related stuff, like CI pipeline.
- api is a main folder that contains the PHP file.
- public is a folder that contains the static files like images, scripts, and styles.
- .env.example is a file that contains the environment variables used in this app.
- .gitignore is a file to exclude some folders and files from Git.
- .vercelignore is a file to exclude some folders and files from Vercel.
- LICENSE is a file that contains the license used in this app.
- README.md is the file you are reading now.
- composer.json is a file that contains the dependencies used and metadata in this app.
- composer.lock is a file that contains detailed list of all the dependencies and their specific versions that are currently installed in this app.
- vercel.json is a file that contains configuration and override the default behavior of Vercel.
- See here for more information about installation and usage.