Download the PHP package marcingladkowski/gus-regon-bundle without Composer
On this page you can find all versions of the php package marcingladkowski/gus-regon-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marcingladkowski/gus-regon-bundle
More information about marcingladkowski/gus-regon-bundle
Files in marcingladkowski/gus-regon-bundle
Package gus-regon-bundle
Short Description Symfony bundle for GUS (Central Statistical Office) REGON API integration - Polish business registry lookup
License MIT
Informations about the package gus-regon-bundle
GUS REGON Bundle for Symfony
A Symfony bundle for integrating with the Polish GUS (Central Statistical Office) REGON API. This bundle provides easy access to business registry data for Polish companies.
Features
- 🔍 Business Lookup: Search for companies by NIP (Tax ID) or REGON number
- 📊 Complete Data: Retrieve comprehensive business information including addresses, PKD codes, and more
- ✅ Validation: Built-in NIP and REGON number validators
- 🚀 Easy Integration: Simple Symfony service integration
- 💾 Caching: Optional caching support for API responses
- 🔒 Type Safety: Full PHP 8.2+ type declarations and DTOs
Requirements
- PHP >= 8.2
- Symfony >= 7.0
- GUS API credentials (user key)
Installation
Configuration
Register the bundle in your config/bundles.php:
Configure your GUS API credentials in config/packages/gus.yaml:
Set your API key in .env:
Usage
Basic Company Lookup
Data Transfer Objects
The bundle provides comprehensive DTOs for structured data:
BusinessDataDTO: Main business entity dataAddressDTO: Address informationPkdCodeDTO: PKD (Polish Classification of Activities) codes
Testing
Documentation
For detailed documentation, see the docs directory:
- Example Companies Data
- Contributing Guide
License
MIT License. See LICENSE file for details.
Credits
Created by Marcin Gladkowski
Uses the gusapi/gusapi library for GUS API communication.
Support
All versions of gus-regon-bundle with dependencies
symfony/framework-bundle Version ^7.0
symfony/dependency-injection Version ^7.0
symfony/config Version ^7.0
symfony/http-kernel Version ^7.0
symfony/cache Version ^7.0
gusapi/gusapi Version ^6.3
psr/log Version ^3.0
symfony/yaml Version ^7.0