common-gateway/huwelijk-vrijbrp-bundle
vrijbrp/vrijbrp) as a dependency, which itself depends on Guzzle HTTP client and PSR-15 middleware.GET /huwelijken, POST /huwelijken/registreren).| Risk Area | Assessment |
|---|---|
| Undocumented Features | No clear API docs or usage examples beyond README. |
| Dependency Lock | Tight coupling with VrijBRP (version ^2.0). Upstream changes may break compatibility. |
| Database Schema | No migrations or entity definitions provided—manual setup risk. |
| Testing Coverage | No tests visible; maturity risk (last release 2024-07-02, but low stars). |
| Authentication | Assumes eHerkenning or similar—may conflict with existing auth. |
| Performance | No benchmarks; API calls to VrijBRP could introduce latency. |
composer require common-gateway/huwelijk-vrijbrp-bundle
config/bundles.php and config/packages/huwelijk_vrijbrp.yaml.vrijbrp/vrijbrp and configure BRP API credentials.Huwelijk, Partij) and map to VrijBRP responses.HuwelijkManager).use CommonGateway\HuwelijkVrijBRPBundle\Service\HuwelijkService;
class MarriageController extends AbstractController {
public function register(HuwelijkService $huwelijkService): Response {
$huwelijk = $huwelijkService->create(...);
return $this->json($huwelijk);
}
}
| Component | Compatibility Check |
|---|---|
| Symfony Version | Must be 5.4+ (Common Gateway requirement). |
| PHP Version | 8.0+ (likely, due to VrijBRP dependencies). |
| Doctrine ORM | Assumed, but no schema—may need custom entities. |
| VrijBRP Version | ^2.0 (locked in composer.json). Upstream changes may require updates. |
| Authentication | eHerkenning preferred; API keys may need custom middleware. |
| Caching | No caching layer mentioned—consider Symfony Cache for VrijBRP API responses. |
huwelijk_vrijbrp.yaml (API keys, auth).How can I help you explore Laravel packages today?