-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD README.md and docblock #8
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# hash-verifier | ||
|
||
hash verification using a nonce & verifying the hmac from the URL for a laravel application | ||
|
||
## Installation | ||
|
||
```bash | ||
composer require dpc/hash-verifier | ||
``` | ||
|
||
## Usage | ||
|
||
TODO: Write usage instructions | ||
|
||
## Contributing | ||
|
||
1. Fork it! | ||
2. Create your feature branch: `git checkout -b my-new-feature` | ||
3. Commit your changes: `git commit -am 'Add some feature'` | ||
4. Push to the branch: `git push origin my-new-feature` | ||
5. Submit a pull request :D | ||
|
||
## History | ||
|
||
TODO: Write history | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. history isn't needed |
||
|
||
## Credits | ||
|
||
[Dylan DPC](https://github.com/Dylan-DPC) | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,10 @@ | |
|
||
namespace Dpc\HashVerifier\Exceptions; | ||
|
||
|
||
/** | ||
* Class HashFailedException | ||
* @package Dpc\HashVerifier\Exceptions | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this isn't needed. It is understood from the namespace There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok ill remove it |
||
*/ | ||
class HashFailedException extends \Exception | ||
{ | ||
|
||
|
@@ -13,4 +16,4 @@ public function __construct() | |
{ | ||
parent::__construct('Hash Validation Failed'); | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you attempt this based on the example I have given? If not I will add it later