https://github.com/marijnvanwezel/try
Simple CLI tool to try Composer packages
https://github.com/marijnvanwezel/try
cli composer php psysh
Last synced: 3 months ago
JSON representation
Simple CLI tool to try Composer packages
- Host: GitHub
- URL: https://github.com/marijnvanwezel/try
- Owner: marijnvanwezel
- License: gpl-3.0
- Created: 2022-03-16T18:31:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T14:22:09.000Z (over 3 years ago)
- Last Synced: 2025-10-13T15:24:38.540Z (3 months ago)
- Topics: cli, composer, php, psysh
- Language: PHP
- Homepage:
- Size: 179 KB
- Stars: 78
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
try - Simple CLI tool to try Composer packages
==============================================
**try** makes it super easy to try new Composer packages through the command-line. It was inspired by [timofurrer/try](https://github.com/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
```