Releases: Speelpenning-nl/laravel-postcode-nl
Releases · Speelpenning-nl/laravel-postcode-nl
Support for Laravel 11 & 12
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.jsonwas updated to support Laravel 11 and 12 (10 was skipped as it is end-of-life)docker-compose.ymlwas updated to support PHP 8.2, 8.3 & 8.4
Code cleanup
- Added stricter type hinting
- Added missing
usestatements - 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
Laravel 9.x fix
v8.1: Merge pull request #20 from quintenbuis/patch-1
Let Laravel discover the PostcodeNlServiceProvider