Download the PHP package ruleshub/cli without Composer

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

ruleshub/cli (Composer wrapper)

Composer package that installs the RulesHub CLI into your PHP project.

This package is a wrapper: it ships no PHP business logic. On composer require, a tiny Composer plugin downloads the matching native Rust binary from the canonical GitHub Releases, verifies its SHA256 against the published SHA256SUMS, and places it at vendor/bin/ruleshub.

Install

After install, vendor/bin/ruleshub (or ~/.composer/vendor/bin/ruleshub for global) is on your PATH.

About the "allow-plugins" prompt

The first time you run composer require ruleshub/cli, Composer will ask:

Answer y — Composer adds this to your composer.json:

The plugin only does one thing: download the binary on install. You can read its source at src/Plugin.php and src/Installer.php.

Requirements

Supported platforms

The wrapper auto-detects your platform and downloads the matching binary:

OS / arch Target
Linux x86_64 x86_64-unknown-linux-musl (statically linked, runs on any glibc/musl distro)
Linux ARM64 aarch64-unknown-linux-musl
macOS Intel x86_64-apple-darwin
macOS Apple Silicon aarch64-apple-darwin
Windows x86_64 x86_64-pc-windows-msvc

Versioning

This package version always matches the binary version it installs — ruleshub/cli:0.1.0-alpha.1 installs [email protected].

Override the version

Useful for testing or pinning to an older binary:

What this package is not

Architecture

See the CLI architecture doc for the full one-binary-many-wrappers model.

License

MIT — same as the canonical CLI.


All versions of cli with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-zip Version *
ext-openssl Version *
composer-plugin-api Version ^2.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 ruleshub/cli contains the following files

Loading the files please wait ...