nas-service/client

This is client package for nas service

1.0.9 2020-09-17 11:46 UTC

This package is not auto-updated.

Last update: 2020-09-17 13:11:11 UTC


README

Installation

Add in repositories to your composer.json

"repositories": {
        "nas-service": {
            "type": "vcs",
            "url": "https://gitlab.com/nas-service/client.git"
        }
}

Then run

composer require nas-service/client

Create config file in path/to/root/config/nas_service_client.php

nas_service_client.php file

<?php
return [
    'environment' => 'dev',
    'host' => 'hrzn.io'
];

Development

Exmaple using

<?php
  use NasService\NasServiceClient;
  
  $client = (new NasServiceClient())->getClient();