Download the PHP package dprmc/clear-structure-sentry-web-services without Composer

On this page you can find all versions of the php package dprmc/clear-structure-sentry-web-services. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package clear-structure-sentry-web-services

ClearStructure-Sentry-WebServices

Latest Stable Version Total Downloads License composer.lock

A php library that enables Sentry users to access the Web Services API.

Getting started

This is a private repository, so special steps are needed if you want to use Composer to include this library in your php project.

Clear Structure

Clear Structure is a financial technology company that created a portfolio management platform called Sentry.

Clear Structure Company Website

Ignored Services

From Clear Structure:

All Sentry's API are all good except (RetrieveReconciliationData & ExportAccountInRange). These are outdated and they might not retrieve valid data.

ExportAccount

I asked Clear Structure about this. They say the code works, but throws an out of memory exception every time because of the size of the result set. For that reason, I don't implement this service in my library.

RetrieveReconciliationData

I wrote the code for this before I got notice that this service was not supported. I'm not going to delete this class in case they enable it in the future. That being said, don't use it. There are other tools available to get reconciliation data.

Examples

RetrieveDataCubeOutputAsDataSet

The following code block makes use of the dummy values for location, user, pass, dataCubeName, as well as the params we pass in the request.

Your location URL should look similar. The only difference will be the sub-domain. Log into your Sentry Web Interface like you normally do. Your sub-domain will show in the URL bar of your browser.

This code example expects to be returned an array of SimpleXMLElement objects. And each of those objects has a property called account_number. You can see the foreach loop towards the bottom that simply echos each account number to a new line.

RetrieveDataCubeOutputWithDefaultsAsDataSet

This service is almost exactly the same as RetrieveDataCubeOutputAsDataSet. The difference here is that you don't pass in any parameters. The data cube will execute with whatever default values you have set via the Sentry Web Interface.

Testing

Included with this library is a phpunit.xml.dist file.

Create a copy of that named phpunit.xml, and fill in the PHP environment variables that are appropriate for your Sentry Account.


All versions of clear-structure-sentry-web-services with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
ext-soap Version *
nesbot/carbon Version ^2|^3
ext-simplexml Version *
sabre/xml Version ^2.0|dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dprmc/clear-structure-sentry-web-services contains the following files

Loading the files please wait ....