PackageTrack
Sign in Get early access

akrabat/ip-address-middleware

PSR-15 middleware that determines the client IP address and stores it as a ServerRequest attribute

2.6.1 2.8M downloads/mo #2942 most downloaded on Packagist akrabat/ip-address-middleware

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 2.6 years

Some releases are documented

notes for 10 of 17 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

17 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

17 releases · Oct 2015 to Jan 2025
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 2.6.1 18 Jan 2025
    Release notes

    What's Changed

    • Implement hopCount variable in Mezzio's IpAddressFactory by @aiglesiasn in #56

    Full Changelog: 2.6.0...2.6.1

    Open source →
  2. 2.6.0 11 Jan 2025
    Release notes

    What's Changed

    • Added: Add hop count parameter by @akrabat in #54
    • Bug fix: If REMOTE_ADDR is empty or invalid, set ip-address to null by @akrabat in #55
    • Maintenance: Update copyright date by @akrabat in #53

    Full Changelog: 2.5.0...2.6.0

    Open source →
  3. 2.5.0 19 Dec 2024
    Release notes

    What's Changed

    • Trust the first non-trusted-proxy IP address from the right by @akrabat in #51 Thanks @cxlblm for reporting.

    Full Changelog: 2.4.0...2.5.0

    Open source →
  4. 2.4.0 24 Nov 2024
    Release notes

    What's Changed

    Full Changelog: 2.3.0...2.4.0

    Open source →
  5. 2.3.0 15 Jul 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.2.0...2.3.0

    Open source →
  6. 2.2.0 09 Jun 2024
    Release notes

    What's Changed

    • Fix a test class name by @kudashevs in #34
    • Update README.md by @kudashevs in #36
    • Code-readability improvements by @kudashevs in #37
    • Add php 8.2 to php unit test matrix by @pascalheidmann in #39
    • Support psr/http-message 2.0 and Diactoros 3.0 by @ElisDN in #42
    • Update the run unit tests github action and add PHP 8.3 support by @kudashevs in #40
    • Added types to private functions, improved readability, shouldCheckProxyHeaders as separate function by @akrabat in #43

    New Contributors

    Full Changelog: 2.1.0...2.2.0

    Open source →
  7. 2.1.0 11 Nov 2021
    Release notes Open source →
  8. 2.0.1 11 Nov 2021
    Release notes

    Total issues resolved: 1

    Open source →
  9. 1.0.1 03 Jul 2018
    Release notes Open source →
  10. 2.0 07 Dec 2020
    Release notes

    This release adds support for specifying trusted proxies using CIDR notation or wildcard matching.
    It also supports PHP 8, along with 7.4, 7.3 and 7.2.

    Total issues resolved: 6

    Open source →
  11. 1.0 18 Feb 2018

    Nothing published for this version

  12. 0.6 18 Feb 2018

    Nothing published for this version

  13. 0.5 13 Nov 2016

    Nothing published for this version

  14. 0.4 06 Nov 2015

    Nothing published for this version

  15. 0.3 02 Nov 2015

    Nothing published for this version

  16. 0.2 31 Oct 2015

    Nothing published for this version

  17. 0.1 31 Oct 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive