Giter VIP home page Giter VIP logo

hotp-php's Introduction

hotp-php's People

Contributors

jakobo avatar jrzepa avatar legoktm avatar reedy avatar sachabeharry avatar scottmac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hotp-php's Issues

HOTP::getTime()

The GetTime() method is completely unnecessary because it returns a stamp which is time zone agnostic. The only time zone that has to be right for unix time to work properly is the server's time zone which changing the PHP zone will have no effect over.

Composer file

Hi,

Thanks for this. Please could you consider adding as composer.json file, so that your code can be installed/managed via composer?

David

PHP 8.0 support

Might just be as simple as allowing ^8.0 in the composer.json requires...

Automated Syntax Formatting on Commit

I've been out of the PHP game for a while, and the tooling in composer has simply gotten much better. So that future commits and code are protected against awkward { and } placement, we should use something to automate the formatting of commit code instead of relying on VS Code to do the heavy lifting.

Ideally, we'd use something like GrumPHP, directly use PHP-CS-Fixer, or add Husky/Lint-Staged tasks via node.

/cc @jrzepa in case I'm missing anything from #13 where the original commit was to get our code standards up to par

Tag a release

I've added this basically to packagist at https://packagist.org/packages/jakobo/hotp-php (more than happy to add you as a maintainer on that packagist package if you give me a username)

Can you tag a release (version number is dealers choice) so people can start bringing this in, rather than having to use dev-master from packagist as is? :)

Enable CI

Hey @jakobo

Any chance you could setup Travis/CI again on this repo?

Thanks!

Tests

Some unit tests would proably be beneficial

example.php provides a good set of testing criteria that probably helps do a lot of the testing...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.