#436

Product support

Get help in the plugin support forum.

Categories

  • Developer Tools
  • Miscellaneous
  • Utility

Gus Api plugin is an OctoberCMS plugin allowing to use johnzuk/GusApi library.

The library is based on official REGON SOAP api.

Documentation

If you want to connect to testing version, then install 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();

Troubleshooting

Right now installing plugin from Marketplace does not pull vendor with original GusApi dependencies. So for now you have to download composer.json file to plugins/initbiz/gusapi directory and in project root run composer update gusapi/gusapi.

It is probably a bug in OctoberCMS's Marketplace. It was reported, but waits for October team to take action.

1.0.4

Fixed null key

Jul 04, 2018

1.0.3

Fixed composer.json file

Jun 18, 2018

1.0.2

Fixed constructor.

Jun 16, 2018

1.0.1

First version of gusapi

Jun 15, 2018