Download the PHP package mainstreamct/syncad-connector-laravel without Composer

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

Syncad-Connector-Laravel

Recommended tools to complete this integration:
β˜•πŸŽΆπŸ’»β°
This package allows to easily connect any Laravel application to an instance of the syncad application management platform.

Table of contents

  1. Installation
    1. Using Composer
  2. Configuration
    1. Connecting things up
    2. Configuration options
  3. Usage
    1. connection/test
    2. login/init
    3. ext/auth
  4. Bugs

Installation

Using Composer

First of all, install the package. Y'all know the drill, but as a reminder:
composer require mainstreamct/syncad-connector-laravel
Then publish the configuration files using:

Laravel 5.5 and below

For Laravel 5.5 and below, add this to your config/app.php:

Laravel 5.6 and up

You're all ready to rock! Thanks to package discovery, you don't need to manually add the service provider to your config/app.php.

Configuration

Connecting things up

  1. Log in to your Syncad installation and go to Admin > Apps
  2. Click '+' (Add existing application)
  3. Fill out your app's details (location, application key)
  4. Connect!

Configuration options

In config/syncad.php, you'll find the following options:

  1. key contains your application key, this should be set in your .env file.
  2. color specifies a unique app color used in your Syncad dashboard to distinguish your application.
  3. login_redirect specifies the URL a user is redirected to upon login. This defaults to /admin.
  4. name is the application name that is stored on your Syncad instance upon connecting. It defaults to your .env's APP_NAME key.

Usage

This package exposes the following endpoints that are used by Syncad.

[POST] connection/test


This endpoint tests the connection using the provided key. It returns an array of environment data used by Syncad to personalize your application.

[POST] login/init


This endpoint returns a login token for a given user using their email and the stored syncad_token.

[GET] ext/auth


This endpoint logs the user in by the provided Syncad token syncad_token. This login token is destroyed upon login. The user is then redirected to the login_redirect URL specified in config/syncad.php.

Bugs

Found a bug? Message us at [email protected] or contact us via the Support environment in your Mainstream Web Portal (MainstreamCT customers only).

Copyright Β© 2019 MainstreamCT


All versions of syncad-connector-laravel with dependencies

PHP Build Version
Package Version
Requires barryvdh/laravel-cors Version ^0.11.3
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 mainstreamct/syncad-connector-laravel contains the following files

Loading the files please wait ....