Level 75
Have you checked to see if Taylor offers Support also for this.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi everyone,
I'm trying Laravel Vapor but I've got a weird problem. When I try to deploy my app I've got this error
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 2 installs, 0 updates, 0 removals
- Installing itconsulting/serveralerts (dev-master): Symlinking from ./nova-components/ServerAlerts
- Installing laravel/nova (dev-master): Symlinking from ./nova
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
The environment file is invalid!
Failed to parse dotenv file due to unexpected whitespace. Failed at...
Here is my .env file
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:y0vN7psAY3ZZpUmPoAu4n+699pxazQH4GuRyHcHR1+U=
APP_DEBUG=true
APP_URL=http://my-app.test
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=xxxxxxx
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PFKE_BASEURL="https://www.xxx.com/firms/"
PFKE_FIRM=00000
PFKE_USERNAME=99999
PFKE_PASSWORD=XXXXXXXXXXXXXXXXX
PFKE_USERAGENT="XX XXXXXXXXX ([email protected])"
GMOD_BASEURL="https://xxxxxx:5665/v1/"
GMOD_USERNAME=xxxxxxxxxxxx
GMOD_PASSWORD="xxxxxxxxxx"
I'm only able to deploy if all PFKE and GMOD keys are not in the .env file
Can you spot the problem here ?
Thank you
Please or to participate in this conversation.