Simple CLI tool to try Composer packages

1.0.2 2022-06-07 14:21 UTC

This package is auto-updated.

Last update: 2024-04-30 00:32:30 UTC


README

try makes it super easy to try new Composer packages through the command-line. It was inspired by timofurrer/try.

Installation

Installation should be done through Composer:

composer global require marijnvanwezel/try
export PATH=$PATH:~/.config/composer/vendor/bin

This installs try as a system-wide binary.

Usage examples

Try single Composer package:

try nikic/php-parser
try webmozart/assert

Try multiple Composer packages in the same session:

try nikic/php-parser webmozart/assert

Try a specific version of a package:

try webmozart/assert:1.10.0