Download the PHP package prayno/moveon without Composer

On this page you can find all versions of the php package prayno/moveon. 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 moveon

MoveOn Api wrapper

MoveOn (https://www.qs-unisolution.com/moveon/) is an application used to manage International Mobility between universities and schools (Erasmus program for example). This package is a php wrapper for the MoveOn API.

Installation

Install the library via Composer by running the following command:

composer require prayno/moveon

Usage

Prerequisites

Prior to usage, you must contact your MoveON technical rep to activate the API in your MoveON instance.

Then, you have to generate a self-signed X509 certificate for your API client (.pem) and bind the serial number to a MoveON user (see technical doc for that)

Instantiation of the class

The MoveOn class now requires the use of the symfony/http-client component.

Retrieve information

To gather information, you need the entity to look for and the criteria you want to search on.

You can use arrays as criteria to search for multiple values. Eg :

This will return a SimpleXMLElement object (page,records,total and rows).

You can also add more options to this method :

Eg :

Due to a limit set by QS, you cannot request for more than 250 rows. However, this library allows you to request for more lines, it will send multiple requests and merge the responses into a single one. This feature is only available if you don't request for a specific page.

Save data

Create and update use the same method ; if you want to update, you just need to provide the id of the entry.

The additional parameter $retrieveData set to false allows the method to only return the queueId provided by the API for a later use (useful when you have many queries)

Note :

The following fields were excluded from their entities as they make the requests fail

person : address.type_eng,address.type_fra,address.type_deu,address.type_ita,address.type_spa

relation : parent,created_on,created_by,last_modified_by,last_modified_on

academic-year : is_active

subject-area : isced

institution : sector_id,size_id,organization_type_id

Custom query

You can also create your own custom query and send it to the API using the sendQuery method.


All versions of moveon with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-simplexml Version *
ext-dom Version *
ext-json Version *
symfony/dom-crawler Version ^5.4|^6.0
symfony/yaml Version ^5.4|^6.0
symfony/http-client Version ^5.4|^6.0
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 prayno/moveon contains the following files

Loading the files please wait ....