摘要： 本文讲的是Matt Stauffer: Environment specific variables in Laravel's testing environment， Matt Staufferhas a quick post to his site showing how you can set up and use environment specific variables in L
Matt Staufferhas a quick post to his site showing how you can set up and use environment specific variables in Laravel, specifically for your testing environment.
In Laravel, it's easy to set environment variables that are specific to your testing environment. Just edit your phpunit.xml file and set them as entries in the block [...] but what if you find yourself needing to exclude these values from version control?
He talks about the projecthe's working on and its integration with Twilio. He need to write some tests for a class that connected to the Twilio service but wanted an easy way to swap out the production credentials with the Twilio test ones. Instead of checking in the test credentials, he dropped them into his .envsettings file, one specific to the test environment.
|...ot initialized. The Symbol Path can be set by: usin...||...in eval-ed code will be propagated outside eval(). ...||...ou can either remove these icons from the desktop o...|