Skip to content

Releases: Speelpenning-nl/laravel-postcode-nl

Support for Laravel 11 & 12

11 Aug 14:39
@gbs gbs

Choose a tag to compare

Dear all,

It has been a while, a long while. Not having worked with PHP or GitHub for over three years, I decided to give this package a little love. You've been kept waiting for too long, sorry for that.

Going through the issues and pull requests, the necessary changes to become compatible again weren't too big. The hurdle to get started was far bigger. Thank you all for the requests and directions! Here is the result:

Dependency updates

  • composer.json was updated to support Laravel 11 and 12 (10 was skipped as it is end-of-life)
  • docker-compose.yml was updated to support PHP 8.2, 8.3 & 8.4

Code cleanup

  • Added stricter type hinting
  • Added missing use statements
  • Updated README.md

Added features

  • Added support for lowercase letters in postcodes
  • Added an intermediate \Speelpenning\PostcodeNl\Exceptions\PostcodeNlException, in case you want to catch those specifically

Testing

  • Migrated tests from Travis CI to GitHub Actions, which includes a matrix of testing against Laravel 11 and 12 with PHP 8.2, 8.3 and 8.4
  • Tested locally with live credentials to make sure it actually works

Future plans

It isn't yet up to the standards I set for the last PHP project I worked on. My wishlist:

  • Get familiar with GitHub again, as I worked with GitLab for the past eight years
  • Improve the test suite
  • Get the code in better, stricter shape where possible
  • Improve supported features by analyzing the official docs and PHP client

Hope this will help you for now. Cheers!

Special thanks to

v9.0: Merge pull request #21 from MarcelA4R/9.x

28 Apr 17:23
@gbs gbs
4846163

Choose a tag to compare

v8.1: Merge pull request #20 from quintenbuis/patch-1

21 Apr 17:19
@gbs gbs
bb5cd2e

Choose a tag to compare

Let Laravel discover the PostcodeNlServiceProvider