Skip to content

Commit 0196dbd

Browse files
authored
Merge pull request #1 from ctwillie/development
Merged first tag v0.1.0 into master
2 parents 901ffeb + 810ad9b commit 0196dbd

File tree

10 files changed

+191
-1099
lines changed

10 files changed

+191
-1099
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/vendor
22
/.vs
3+
composer.lock
34
index.php
4-
notes.json
55
notes.php
6-
ert-type
6+
todo.txt
7+
/src/Removed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,27 @@ There are two important configurations.
4040
1. Your USPS user ID:
4141
- If you have not received your USPS user ID, follow the link in the [prerequisites](#Prerequisites) section to register with the
4242
United States Postal Service. It is required to use this package.
43+
4344
2. Whether you want SSL verification enabled for API requests:
44-
- This setting is set to `true` by default for security reasons. You can override this behavior by setting the `verrifyssl` config setting to `false`. Do this at your own risk. Or, you can take the steps neccessary to add the certificate to your machine to be recognized.
45+
- This setting is set to `true` by default for security reasons. You can override this behavior by setting the `verrifyssl` config setting to `false`. Do this at your own risk.
46+
47+
We recommend placing all configuration settings in your `.env` file and use Laravel's `env()` helper function to access these values.
4548

4649
In `config/services.php` add these two settings.
4750

4851
```php
4952
'usps' => [
5053

51-
'userid' => '**********',
52-
'verifyssl' => true
54+
'userid' => env('USPS_USER_ID'), // ********
55+
'verifyssl' => env('USPS_VERIFY_SSL') // true|false
5356

54-
]
57+
];
5558
```
5659

5760
## Usage
5861

59-
Working on API usage instructions.
62+
The current features offered by this package are listed below.
63+
- [Address Verification](#Address)
6064

6165
## Contributing
6266

composer.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
{
22
"name": "ctwillie/laravel-usps",
3-
"description": "USPS API wrapper for laravel framework",
43
"type": "library",
4+
"description": "USPS API wrapper for Laravel 6 framework",
5+
"keywords": [
6+
"laravel",
7+
"laravel 6",
8+
"laravel usps",
9+
"laravel 6 usps",
10+
"usps",
11+
"usps api"
12+
],
513
"license": "MIT",
614
"authors": [
715
{
@@ -16,17 +24,7 @@
1624
},
1725
"autoload": {
1826
"psr-4": {
19-
"ctwillie\\Usps\\": "src/Usps/"
20-
}
21-
},
22-
"extra": {
23-
"laravel": {
24-
"providers": [
25-
"ctwillie\\Usps\\UspsServiceProvider"
26-
],
27-
"aliases": {
28-
"Usps": "ctwillie\\Usps\\Facades\\Usps"
29-
}
27+
"ctwillie\\": "src/"
3028
}
3129
},
3230
"minimum-stability": "dev"

0 commit comments

Comments
 (0)