Download the PHP package browserstack/browserstack-local without Composer

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

browserstack-local-php

Build Status

PHP bindings for BrowserStack Local.

Installation

Installation is possible using Composer.

If you don't already use Composer, you can download the composer.phar binary:

curl -sS https://getcomposer.org/installer | php

Then install the library:

`php composer.phar require browserstack/browserstack-local`

Install all depenedencies: php composer.phar install

Test the installation by running a simple test file, check out example.php in the main repository.

Example

Arguments

Apart from the key, all other BrowserStack Local modifiers are optional. For the full list of modifiers, refer BrowserStack Local modifiers. For examples, refer below -

Verbose Logging

To enable verbose logging -

Folder Testing

To test local folder rather internal server, provide path to folder as value of this option -

Force Start

To kill other running Browserstack Local instances -

Only Automate

To disable local testing for Live and Screenshots, and enable only Automate -

Force Local

To route all traffic via local(your) machine -

Proxy

To use a proxy for local testing -

Local Proxy

To use local proxy in local testing -

PAC (Proxy Auto-Configuration)

To use PAC (Proxy Auto-Configuration) in local testing -

Local Identifier

If doing simultaneous multiple local testing connections, set this uniquely for different processes -

Additional Arguments

Binary Path

By default, BrowserStack local wrappers try downloading and executing the latest version of BrowserStack binary in ~/.browserstack or the present working directory or the tmp folder by order. But you can override these by passing the -binarypath argument. Path to specify local Binary path -

Logfile

To save the logs to the file while running with the '-v' argument, you can specify the path of the file. By default the logs are saved in the local.log file in the present woring directory. To specify the path to file where the logs will be saved -

Contribute

Testing is possible using PHPUnit.

To run the tests, run the command: phpunit

Reporting bugs

You can submit bug reports either in the Github issue tracker.

Before submitting an issue please check if there is already an existing issue. If there is, please add any additional information give it a "+1" in the comments.

When submitting an issue please describe the issue clearly, including how to reproduce the bug, which situations it appears in, what you expect to happen, what actually happens, and what platform (operating system and version) you are using.

Pull Requests

We love pull requests! We are very happy to work with you to get your changes merged in, however, please keep the following in mind.


All versions of browserstack-local with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.19
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 browserstack/browserstack-local contains the following files

Loading the files please wait ....