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:
.envfile set to
use Initbiz\GusApi\Classes\GusApi; //... $gus = new GusApi(); //With Laravel accent ;) $initbiz = collect($gus->getByNip('8661738221'))->first();
Right now installing the 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 the October team to take action.
inIT has been consistently providing a discreet and professional development service for October CMS users since 2015. We have successfully played major and minor development roles in over 100 October based projects supporting and partnering with clients around the world.
Why not make us a part of your next October development crew.
inIT.biz is a trading name of inIT.biz sp. z o.o., a company registered in Poland (REGON: 367829790, VAT: 8661738221)