This is a repo of OctoberCMS plugin by InIT.biz.
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.
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_ENVin you.envfile set toproduction- entered your key in backend settings.
use Initbiz\GusApi\Classes\GusApi;
//...
$gus = new GusApi();
//With Laravel accent ;)
$initbiz = collect($gus->getByNip('8661738221'))->first();