{{ message }}
Repository navigation
v2.0: Modernize library to use FRSC NVIS portal - #7
Open
Olayiwola72 wants to merge 1 commit into
Open
Olayiwola72 wants to merge 1 commit into
Olayiwola72 wants to merge 1 commit into
Conversation
The original data source (lsmvaapvs.org) is defunct - the domain is parked for sale. This PR switches to the official FRSC NVIS portal (nvis.frsc.gov.ng) and modernizes the entire stack. Changes: - Switch data source from lsmvaapvs.org to nvis.frsc.gov.ng - Require PHP 8.1+ and Guzzle 7 (was PHP 5.4+, Guzzle 5-6) - Remove Symfony DomCrawler, use native DOMDocument - Add CSRF token handling for FRSC form submission - Add InvalidPlateNumberException and VerificationFailedException - Add PHPUnit 10 test suite with 8 tests (mocked, no real HTTP) - Remove Travis CI config (use GitHub Actions or local testing) - Update README with migration guide Fixes unicodeveloper#5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
The original data source (lsmvaapvs.org) is dead — the domain is parked for sale. This PR modernizes the library to use the official FRSC National Vehicle Identification System (NVIS) portal instead.
Changes
Verification
All 8 tests pass. The library successfully queries FRSC and returns vehicle data (Make + Color).
Migration
See updated README.md for breaking changes and new usage examples.
Fixes #5