Download the PHP package berthott/laravel-sx without Composer

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

test workflow

Laravel-SX

A SurveyXAct (SX) API Integration for Laravel. Easily add SX integration by adding a Trait.

Requirements

For a connection between Laravel, it is necessary, to own a SX License. The connection is set up per survey. The user that is used to query data from this survey need to have sufficient access rights within SX. For more information see the Consultant Documentation

Installation

Concept

Sxable

SX is a surveying tool that offers a questionnaire to the end user who will respond which will fill out one row in a database with values corresponding to their answers. This row is referred to as respondent, so the whole dataset will be the respondents. The structure of this respondents table including information question type, as well as the questionnaire which is the labels for the structure, and the labels for all possible answers can be downloaded by SX's API.

In addition, respondents can be created and prefilled with background variables via the API.

For more information see the SX API Documentation.

This package will provide all the API implementation for you. Once you connect a survey, the respondent's data from SX will be synced with your own database. Interacting (creating, editing and deleting respondents) with this package will ensure to always maintain the latest data in both table, SX and our own. If changes are done to the SX Database by end users a sync can be triggered via the sync route or by the sx:import Artisan command.

Distributable

A distributable is an entity within your database that can provide background variable to pre-fill respondents data. It corresponds to a sxable and provides some useful routes for collecting respondents.

Use cases

There's different possible use cases, that are implemented by the ngs-core/sx-entity package.

Usage

Sxable

SXDistributable

Options

To change the default options use

Remarks

SX short variable names vs. long variable names

SX uses short variable names for export by default. While the SX API gives us the option to export also long names, when interacting with respondents, it requires short names. Therefore we export the short names and use the returned structure to guess the short and full names however we need them. See \berthott\SX\Services\SxSurveyService.

Architecture

Compatibility

Tested with Laravel 10.x.

License

See License File. Copyright © 2023 Jan Bladt.


All versions of laravel-sx with dependencies

PHP Build Version
Package Version
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 berthott/laravel-sx contains the following files

Loading the files please wait ....