nas-service/client

This is client package for nas service

1.0.14 2021-10-12 10:59 UTC

This package is not auto-updated.

Last update: 2024-04-26 06:33:18 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();