Download the PHP package kiwicom/loopbind without Composer

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

Loopbind

🛠️️ CLI tool to easily bind localhost network interface with additional IP and ensure matching record in /etc/hosts.

This is a helper tool to be installed via composer global to machines where the localhost deployment process of Docker composition (via docker-compose.yaml) is prepared in a way that it binds the ports on IP from localhost subnet block and multiple of such compositions should be allowed to run in parallel (differentiated by the IP).

Practically speaking this tool ensures that the localhost network interface (lo0 on OS X) will also have another IP from localhost subnet block (for example 127.0.0.2) and there will entry in /etc/hosts for particular domain routing to that IP (for example 127.0.0.2 example.test).

Supported platforms:

Platform Support
OS X
Linux
Windows

Required underlying utilities:

Installation

Run

Then if you have composer bin directory on the PATH you can use it by calling loopbind in the CLI. So you can initialize the configuration with a CLI wizard:

Usage

In the project root define a file named .loopbind.json with following content:

Or when you need to bind multiple hostnames:

Then in this directory you can run loopbind apply to run commands to ensure the binding. Also, you can run loopbind unapply to remove it and loopbind show to show the configuration and its status.

The commands are idempotent so repeated apply/unapply does nothing (and the apply command does not even need to run the command again).

Please note, that the config is expected to be in the current working directory.

Development

This projects uses following coding standard:

However, due to the expected side effects (changing the computer configuration after run) and application of KISS only a subset of functionality is tested automatically. Hence, testing of:

should be done manually.


All versions of loopbind with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-json Version *
ext-iconv Version *
ext-mbstring Version *
contributte/console Version ^0.9.0
nette/utils Version ^4.0
nette/schema Version ^1.2
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 kiwicom/loopbind contains the following files

Loading the files please wait ....