Download the PHP package beziworld/laravel-company-data without Composer

On this page you can find all versions of the php package beziworld/laravel-company-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-company-data

Laravel Company Data

tests Latest Version

Polish and EU company data for Laravel from three official sources:

Polska wersja dokumentacji

Installation

The white list and VIES need no keys. Lookups are cached for 12 hours (the white list allows only 100 searches a day per IP address).

GUS

Sessions are opened on demand, cached for 55 minutes and renewed automatically when GUS expires them.

VAT white list

Paying an invoice above PLN 15,000 to an account that is not on the white list can make the payer jointly liable for the supplier's VAT and excludes the expense from tax costs. Store requestId with the payment.

The API moved to wykazpodatnikowvat.mf.gov.pl in October 2026 (the old wl-api.mf.gov.pl stops on 1 December 2026); the package uses the new host by default.

VIES

National systems are often temporarily unavailable or rate limited (MS_UNAVAILABLE, MS_MAX_CONCURRENT_REQ). Such errors are retried and, if they persist, thrown as ViesException with isTemporary() === true. An invalid number is not an exception: it returns valid === false.

Usage examples

Fill in the company form from NIP

Verify a supplier before paying

Reverse charge for EU customers

Combine it with beziworld/laravel-polish-validation to validate the NIP checksum before calling the APIs.

Exceptions

GusException, WhiteListException (errorCode() such as WL-191, isLimitExceeded(), isTemporary()) and ViesException (errorCode(), isTemporary()), all extending CompanyDataException.

Development

Author

Created and maintained by Kamil Ćwiertnia, beziworld.eu.

Need a B2B integration or a custom Laravel project? Get in touch through beziworld.eu.

Other packages by the author

laravel-polish-validation · laravel-polish-calendar · laravel-nbp · laravel-przelewy24 · laravel-tpay · laravel-smsapi · laravel-directadmin

License

MIT. See LICENSE.md. Data sources: Statistics Poland (GUS), Ministry of Finance, European Commission. This package is not affiliated with any of them.


All versions of laravel-company-data with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-json Version *
ext-dom Version *
ext-libxml Version *
guzzlehttp/guzzle Version ^7.8
illuminate/contracts Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package beziworld/laravel-company-data contains the following files

Loading the files please wait ...