diff --git a/.gitignore b/.gitignore index bc9ed87..b90ffc5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,11 @@ -.env -*.lock +# Composer vendor/ +*.phar +*.lock + +# Jetbrains Idea *.old .idea/ -*.phar + +# Environment files +.env/*.* \ No newline at end of file diff --git a/README.md b/README.md index 5aa7753..7a39c2c 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,8 @@ print $response->body(); - [Example Code](https://github.com/sendgrid/php-http-client/tree/master/examples) +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. + # Roadmap diff --git a/examples/.env_sample b/examples/.env_sample new file mode 100644 index 0000000..30857f4 --- /dev/null +++ b/examples/.env_sample @@ -0,0 +1 @@ +export SENDGRID_API_KEY='' \ No newline at end of file