PHPackages                             honey-comb/companies - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. honey-comb/companies

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

honey-comb/companies
====================

Honeycomb company package

0.3.3(7y ago)03.9kMITPHPPHP ^7.1

Since Jan 23Pushed 7y ago2 watchersCompare

[ Source](https://github.com/honey-comb/companies)[ Packagist](https://packagist.org/packages/honey-comb/companies)[ Docs](https://github.com/honey-comb/companies)[ RSS](/packages/honey-comb-companies/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (6)Versions (16)Used By (0)

HoneyComb companies package [![Build Status](https://camo.githubusercontent.com/0b23d886def36f33a89babf295855fcd61fbc2fedd691064912eeeb44298b6d3/68747470733a2f2f7472617669732d63692e636f6d2f686f6e65792d636f6d622f636f6d70616e6965732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/honey-comb/companies)
=======================================================================================================================================================================================================================================================================================================================

[](#honeycomb-companies-package-)

Description
-----------

[](#description)

HoneyComb CMS Companies package, stores simple information about company. Currently contains integration with (rekvizitai.vz.lt) for automated company data retrieval for Lithuanian companies.

Requirement
-----------

[](#requirement)

- php: `^7.1`
- laravel: `^5.6`

Installation
------------

[](#installation)

Begin by installing this package through Composer.

```
	{
	    "require": {
	        "honey-comb/companies": "0.3.*"
	    }
	}
```

or

```
    composer require honey-comb/companies
```

Laravel integration
-------------------

[](#laravel-integration)

Firstly register the service provider and Facade by opening `config/app.php`

```
HoneyComb\Companies\Providers\HCCompanyServiceProvider::class,

```

Usage
-----

[](#usage)

In the `.env` file please add these parameters:

```
HC_COMPANY_REKVIZITAI_API_KEY=KEY
HC_COMPANY_REKVIZITAI_CLIENT_ID=ID

```

Through the help of `HoneyComb\Companies\Services\HCCompanyService` call `findByCode('CODE')` function

EXAMPLE
=======

[](#example)

```
