Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 862 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 862 Bytes

GusApi - Use GUS API to get information from REGON in your project.

GusApi banner

This is a repo of OctoberCMS plugin by InIT.biz.

Introduction

Our Gus Api plugin give you acces to the johnzuk/GusApi library from within October.

The library is based on the official REGON SOAP API.

Installation

If you want to connect to the testing version, then install the plugin and you are ready to go.

If you want to connect to production, ensure you have:

  • APP_ENV in you .env file set to production
  • entered your key in backend settings.

Example usage

    use Initbiz\GusApi\Classes\GusApi;

    //...

    $gus = new GusApi();

    //With Laravel accent ;)
    $initbiz = collect($gus->getByNip('8661738221'))->first();