Skip to content

asikam/softone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Softone Web Services PHP Laravel package

Laravel package that makes it easy to use the Softone Web Services REST API.

- Disclaimer: this is not an official package     

Official documentation at: https://www.softone.gr/ws/

Installation

    composer require asikam/softone
  • Then publish the config file

      php artisan vendor:publish --provider="Asikam\Softone\SoftoneServiceProvider"
    

Usage

    $softone = new Softone();
    $softone->setService('getBrowserInfo');
    $softone->setObject('CUSTOMER');
    $softone->setFilters('CUSTOMER.AFM=000000*=;');
    $softone->send();
    
    $softone->setService('getBrowserData');
    $softone->setReqId($softone->reqID);
    $softone->limit(10);
    $softone->send();
    
    foreach ($softone->data as $item) {
        echo $item['CUSTOMER.NAME']."\n";
        echo $item['CUSTOMER.AFM']."\n";
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages