xsist10 / haveibeenpwned Goto Github PK
View Code? Open in Web Editor NEWPHP client for the haveibeenpwned.com API
License: MIT License
PHP client for the haveibeenpwned.com API
License: MIT License
Swap out the https://github.com/xsist10/HaveIBeenPwned/tree/master/src/Adapter and implement https://packagist.org/packages/php-http/adapter
These need to be added to the client library:
https://haveibeenpwned.com/api/v2/#PastesForAccount
As title, I want to have the CLI mode to check whether the specific password have been pwned quickly.
I think we can use this simple cmd package to implement this feature.
Is any idea about this?
Thanks.
At the moment the client returns responses as arrays. Swap this to return Value Objects (and see if you can make it backwards compatible by extending ArrayObject).
The HaveIBeenPwned API has rate limiting (https://haveibeenpwned.com/api/v2/#RateLimiting). This library needs to be extended to check if a response contains a retry-after header.
This API Client hasn't been updated in 3 years, but it seems to be the most popular around. I'm getting no errors, and the object output is empty. This may be based of the v1 API, but I believe it's still supported. I might be able to fix the issue and submit a pull request
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.