Download the PHP package pixelfusion/blueman without Composer

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

Blueman

Author Build Status Code Coverage Codacy Badge Packagist Version Gitter

Convert an API Blueprint JSON file into a Postman collection.

Install Blueman as a Phar (recommended)

Use the installer to download Blueman:

This will grab the latest version of Blueman and copy it to your current directory. We recommend moving it to the bin directory so you can run the Blueman from anywhere:

Whenever there is a new version of Blueman you can run self-update to update to the latest version:

Install using Composer

Blueman can also be installed using Composer if you prefer that:

Prerequisites

The API Blueprint JSON file that you want to convert with Blueman should be created using Drafter. By default Drafter creates refract formatted JSON files but Blueman only supports the AST format. You will have to force Drafter to use AST by passing the -t parameter, for example:

Note: As of December 2015 the API Blueprint AST format has been deprecated. The API Blueprint AST has been superseded by API Description Refract Namespace. At this point Blueman only supports the AST format so as soon as Drafter drops support for generating AST formatted files, Blueman won't work anymore. Pull Requests to add support for the refract format are highly appreciated!

Usage

To generate a Postman collection you run the convert command. For example, if the API Blueprint JSON file you generated is called api.json you would execute the following command:

Note: If you installed Blueman using Composer you have to replace blueman with ./bin/console in all the example commands, e.g.:

This command will generate a file called collection.json, which you can import in Postman.

By default Blueman will look for the JSON file in the same location as where you are running the command. If your file is in another directory, you need to specify the path:

Specify output file

By default Blueman will create a collection.json file in the current directory. You can save the file to a different folder and change the output filename by passing the output parameter:

Setting the host

The base host of your API can be set in a couple of different ways.

First of all you can specify it in your API Blueprint as metadata by adding the following line to the top of your API Blueprint Markdown file:

HOST: https://api.example.com/v1

If your Markdown file doesn't have the host metadata or if you want to overwrite it, you can specify the host when executing the convert command:

Lastly, if you don't do either of the above you'll be prompted to set the host when you execute the convert command.

TIP: If you use environments in Postman to test your API on different servers (sandbox, user acceptance testing, etc.) you can use the host option to specify your placeholder keys that you've setup in Postman's environment config:

Postman tests

Blueman also allows you to define Postman tests.

To use this feature you have to create a Markdown file in your path where api.json is located (see --path option). By default, Blueman will try to read a file called blueman.tests.md. Check the test/api.test.md file for an example of the syntax. You can use a different name if you like but you will need to specify the --test-filename parameter when you run the convert command.

Usage example

If the name of your test file is not blueman.tests.md then specify the filename:


All versions of blueman with dependencies

PHP Build Version
Package Version
Requires symfony/config Version ~2.8
symfony/console Version ~2.4
symfony/debug Version ~2.8
symfony/filesystem Version ~2.8
symfony/stopwatch Version ~2.8
ramsey/uuid Version ~2.7
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 pixelfusion/blueman contains the following files

Loading the files please wait ....