Download the PHP package nakato53/symfony-vercel-bundle without Composer
On this page you can find all versions of the php package nakato53/symfony-vercel-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nakato53/symfony-vercel-bundle
More information about nakato53/symfony-vercel-bundle
Files in nakato53/symfony-vercel-bundle
Package symfony-vercel-bundle
Short Description Install vercel runtime for Symfony
License MIT
Informations about the package symfony-vercel-bundle
Vercel Symfony Bundle
A Symfony Bundle, that help you to configure your Symfony project running on Vercel
Installation
Use composer to install Vercel Symfony Bundle.
Usage
This command will setup all required configuration for you. It will create :
- vercel.json -> configuration for the runtime
- api folder -> folder used by vercel to expose the application
- composer.json scripts -> add vercels scripts
Customize
vercel.json
In this file you should add your environnement variables. Becareful, this file is part of your git repository, you should not expose any important datas. Use your Vercel project settings to handle thoses variables.
composer.json
In the scripts/vercel parts, you can add any script you need to use during the deployment of your application. You can use this part to run migrations.
If using assetmapper, you should add this script to compile your assets :
Deploy
You just have to create a project on Vercel, and link it to your git repository. On each push , you will trigger an automatic deployment
All versions of symfony-vercel-bundle with dependencies
symfony/console Version ^7.0
symfony/framework-bundle Version ^6.3|^7.0
symfony/http-kernel Version ^6.3|^7.0
symfony/dependency-injection Version ^6.3|^7.0
symfony/filesystem Version ^7.0