Category: plugin

  • CSRF token package

    Working on older projects (as i tend to do), I often get various requirements for security enhancements.

    A few days ago, somebody apparently ordered a security test of a site I was working on, so yesterday i got the report:
    3 HIGH security errors, one being that we had no CSRF tokens on the forms.

    gah…

    I started searching for a nice CSRF token package, but the cool ones from Symfony etc used a lot of internal things and this project i worked on, didn’t really use a nice framework (it’s old – but upgraded through the years it’s been in service.. no main framework though)

    So I got my hands dirty and created a new package to handle this 🙂

    The package is called jimmiw/csrf and is available on github and packagist.

    To install it, write:

    composer install jimmiw/csrf

    And you are good to go. Read the README.md file for more info about how to use the package.

    Please note, that it’s already in version 2!… I guess I released it a bit fast yesterday and then today I changed the API…
    Anyways, the unit test proves that it works 🙂

  • Hacktoberfest 2020

    This year at hacktoberfest 2020 my small project php-time-ago got a bit of attention. This was very nice and i hope that people had a fun time.

    However, most of the attention was spam 🙂

    It feels odd when people take their time to do invalid PRs instead of just doing it right.

    One PR i got was:

    Why was this ever a valid PR? 🙂

    Anyways, it was fun to be part of #hacktoberfest this year and i hope a lot of opensource projects got a lot of attention.

  • Lots of translations on php-time-ago module

    The composer module php-time-ago is now in version 0.4.10 and has included translations for the following languages:
    * Brazilian Portuguese
    * Chinese
    * Danish
    * Dutch
    * English
    * Finnish
    * French
    * Hungarian
    * Japanese
    * Korean
    * Spanish
    * Taiwanese

    Head on over to github for the latest details.

  • php-time-ago plugin updated to version 0.4.0

    Just wanted to say, that after a few requests i’ve updated the php-time-ago plugin to be able to use translations.

    The plugin is available on github and using composer