Skip to content

Commit 426c2c8

Browse files
author
Matt Bernier
authored
Merge pull request sendgrid#51 from dhsrocha/master
Added example file, updated .gitignore and README.
2 parents 4741d28 + 667e43c commit 426c2c8

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
.env
2-
*.lock
1+
# Composer
32
vendor/
3+
*.phar
4+
*.lock
5+
6+
# Jetbrains Idea
47
*.old
58
.idea/
6-
*.phar
9+
10+
# Environment files
11+
.env/*.*

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ print $response->body();
138138

139139
- [Example Code](https://github.com/sendgrid/php-http-client/tree/master/examples)
140140

141+
You can use the ```.env_example``` file located at "examples" folder. Just copy it to a ```.env``` folder ou can put on your project's root.
142+
141143
<a name="roadmap"></a>
142144
# Roadmap
143145

examples/.env_sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export SENDGRID_API_KEY=''

0 commit comments

Comments
 (0)