Download the PHP package robinhq/connect-server without Composer

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

Robin Connect Example Implementation

Installation

You can either install this project through create-project robinhq/connect-server inside the folder you want it to run from or by forking this repo to your own github repo and clone it from there. The last way is preferred, as you are able to test and develop locally and push to your own repo.

Local Dev requirements

To be able to test and develop locally, you need to have Virtual Box and Vagrant installed on your machine. See Vagrant as a manager for virtual box.

Once you're done installing Virtual Box and Vagrant, head to the location you've installed this project in your terminal and run:

Initially, this will take some time. The next time you run the command, it'll be much faster as Vagrant has to download and configure the virtual machine on it's first run. When it's done, edit your /hosts/etc file (look up the location fo this file on Windows) and add the following line 192.168.10.10 robin-connect.app save and close the file. Before we can view the application, we first have to set some environment variables.

Setting .env variables

Robin Connect-Server requires a few api key's and other settings. You can see these settings when you open .env .example. The first few lines are Lumen's environment settings. Below the line Robin Connect-Server Settings You can see the required variables this project needs in order to run. When you don't provide one of these, the project will be unable to run properly and you'll most likely encounter errors. To get you SEOShop API credentials, please contact SEOShop. The same is for your ROBIN API credentials, contact ROBIN to get them.

Once you have the API key's, you can copy the .env.example file and rename it to .env. Fill in all the variables values and last, but certainly not least add the url's to where you wan't SEOShop to send your hooks to by setting the HOOK_BASE_URL variable. This is the url where your application index is located. From here, are the hooks urls generated. So, when you install this application on the host http://connect.mydomain.com the SEOShop hooks that will be registered are http://connect.mydomain.com/hooks/orders and http://connect.mydomain.com/hooks/customers.

Installing Dependencies

In order to work properly, we need to install some dependencies. This is done through Composer and Npm. When you have both of the dependency managers installed, you can do the following form inside the project root:

After you have installed all of the dependencies, you can go to the development or production url and click on the Register Webhooks button to register the webhooks for SEOShop.

Final Note


All versions of connect-server with dependencies

PHP Build Version
Package Version
Requires laravel/lumen-framework Version 5.1.*
vlucas/phpdotenv Version ~1.0
robinhq/connect Version ~0.1.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 robinhq/connect-server contains the following files

Loading the files please wait ....