PHPackages                             kamaro/sdc - 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. kamaro/sdc

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

kamaro/sdc
==========

A package to interact with Sales Data Controllers (SDC) for Rwanda Revenue Authority

1.0.0(6y ago)4242MITPHPPHP ~5.6|~7.0CI failing

Since Apr 14Pushed 4y ago3 watchersCompare

[ Source](https://github.com/kamaroly/Sdc)[ Packagist](https://packagist.org/packages/kamaro/sdc)[ Docs](https://github.com/kamaroly/sdc)[ RSS](/packages/kamaro-sdc/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

RRA(Rwanda Revenue Authority) SDC(Sales Data Controller) for PHP
================================================================

[](#rrarwanda-revenue-authority-sdcsales-data-controller-for-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/495c1d436b201daa04387971d15a89dcf45ca6c5066efb038e7bd048dfd6ba43/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4b616d61726f2f5364632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Kamaro/Sdc)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7a87a06639b9d8046f8ef19d5ede8350818c44c0cd5e5345127adcc37af014f4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4b616d61726f2f5364632f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Kamaro/Sdc)[![Coverage Status](https://camo.githubusercontent.com/b2a3acfe66a089ed14bd450b6765cc09ee24ddb4a6935b1a14e94f0fbb3bbe48/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f4b616d61726f2f5364632e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Kamaro/Sdc/code-structure)[![Quality Score](https://camo.githubusercontent.com/7bc32125c35a9fb3a1609ba8b49bbe2a0c7dcd5691c3b14e727c8269fc7a3395/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4b616d61726f2f5364632e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Kamaro/Sdc)[![Total Downloads](https://camo.githubusercontent.com/93e36abbcae2c4f4a36436c469625be07a02237a9240d2a228caae18bd731ae8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4b616d61726f2f5364632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Kamaro/Sdc)

Sales Data Controller is the a device that is enforced by law to monitor all sales that takes place within a shop that pays VAT. This package controls SDC devices.

Structure
---------

[](#structure)

```
src/
tests/
vendor/

```

Installation
============

[](#installation)

- [Installation](#installation)
    - [Server Requirements](#server-requirements)
    - [Installing KAMARO SDC](#installing-sdc)

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

[](#installation-1)

### Server Requirements

[](#server-requirements)

KAMARO SDC has a few system requirements. Of course, most of these requirements are satisfied by the [Laragon](https://laragon.org/), so it's highly recommended that you use Laragon as your local Laravel development environment.

However, if you are not using Laragon, you will need to make sure your server meets the following requirements:

- PHP &gt;= 7.1.0
- OpenSSL PHP Extension
- Mbstring PHP Extension
- Windows 10
- [Php Serial extension for windows](https://secure.shareit.com/shareit/checkout.html?PRODUCT%5B300063750%5D=1)

### Installing KAMARO SDC

[](#installing-kamaro-sdc)

KAMARO utilizes [Composer](https://getcomposer.org) to manage its dependencies. So, before using this package, make sure you have Composer installed on your machine.

#### Via Composer Create-Project

[](#via-composer-create-project)

Alternatively, you may also install Laravel by issuing the Composer `create-project` command in your terminal:

```
    composer create-project kamaro/sdc your_project_name_here  dev-master
```

Install in existing project
---------------------------

[](#install-in-existing-project)

```
composer require Kamaro/Sdc
```

Usage
-----

[](#usage)

#### Register php serial extension.

[](#register-php-serial-extension)

Each time you are opening the port, You are required to register it with your license from the vendor or the Serial Port.

```
