Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marijnvanwezel/try
Simple CLI tool to try Composer packages
https://github.com/marijnvanwezel/try
cli composer php psysh
Last synced: 23 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T14:22:09.000Z (over 2 years ago)
- Last Synced: 2024-09-29T22:41:39.064Z (about 1 month ago)
- Topics: cli, composer, php, psysh
- Language: PHP
- Homepage:
- Size: 179 KB
- Stars: 79
- 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).
![](/docs/asciinema.gif)
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
```