Download the PHP package rosell-dk/locate-binaries without Composer

On this page you can find all versions of the php package rosell-dk/locate-binaries. 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 locate-binaries

Locate Binaries

Build Status Coverage Software License Latest Stable Version Minimum PHP Version

Just a little class for locating binaries. You need exec(), shell_exec() or similar enabled for it to work. Otherwise, it will throw.

Works on Linux, Windows and Mac.

Usage

To locate installed cwebp binaries (found on Linux with which -a, falling back to whereis -b; on Windows found using where):

Note that you get an array of matches - there may be several versions of a binary on a system.

The library also adds another method for locating binaries by peeking in common system paths, such as usr/bin and C:\Windows\System32 However, beware that these dirs could be subject to open_basedir restrictions which can lead to warning entries in the error log. The other method is therefore best.

Well warned, here it is the alternative, which you in some cases might want to fall back to after trying the first.

Installing

Install with composer:

Notes

The library uses the exec-with-fallback library in order to be able to use alternatives to exec() when exec() is disabled.

Do you like what I do?

Perhaps you want to support my work, so I can continue doing it :)

Thanks!


All versions of locate-binaries with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
rosell-dk/exec-with-fallback Version ^1.0.0
rosell-dk/file-util 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 rosell-dk/locate-binaries contains the following files

Loading the files please wait ....