Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced ConfigServiceProvider with Dotenv
- Loading branch information
1 parent
c703c02
commit 0cac75e
Showing
9 changed files
with
46 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
TOGGLE__DEBUG=true | ||
TOGGLE__ALLOWED_ORIGINS='["127.0.0.1"]' | ||
TOGGLE__REDIS_DSN="tcp://127.0.0.1:6379" | ||
TOGGLE__PREFIX="feature_toggle" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ composer.lock | |
composer.phar | ||
/vendor/ | ||
/config.json | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Changelog for Qandidate toggle API | ||
|
||
## 0.3.x | ||
|
||
- Replaced `igorw/config-service-provider` with `vlucas/phpdotenv`. With this method there is [more flexibility to deploy] the API | ||
`.env.dist` gives you the same configuration as `config.json.dist` gave you before. | ||
But you will need to recreate your config if you adjusted the configuration. | ||
Note that `TOGGLE__ALLOWED_ORIGINS` should be a JSON string and the name for the redis connection changed | ||
from `uri` to `dsn` (`TOGGLE__REDIS_DSN`). | ||
|
||
[more flexibility to deploy]: http://12factor.net/config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters