dunglas / dunglas/api-platform-heroku
Dunglas\Heroku\Database not on autorun
- Dominant language
- PHP
- Stars
- 6
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
When deploying I was not able to put that class on autorun. I did it locally by running composer update. But was not able to do it on heroku.
So I decided to use this that seemed a better approach than having to rely on that Database::createParameters method:
```
doctrine:
dbal:
driver: pdo_mysql
url: "%env(DATABASE_URL)%"
```
Contributor guide
Research direction
Start at the Dunglas\Heroku\Database class and the deployment or autoload configuration used by the Symfony application; compare the failing Heroku deployment with the composer update behavior described here. Done means the class is available through the intended autorun path on Heroku, with the shown DATABASE_URL Doctrine configuration remaining verifiable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, symfony
- Domain
- cloud, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100