https://github.com/bd808/composer-activate
Add Composer vendor binary path to $PATH
https://github.com/bd808/composer-activate
Last synced: 10 months ago
JSON representation
Add Composer vendor binary path to $PATH
- Host: GitHub
- URL: https://github.com/bd808/composer-activate
- Owner: bd808
- Created: 2013-05-16T04:17:04.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-16T04:28:08.000Z (about 13 years ago)
- Last Synced: 2025-05-11T15:41:11.968Z (about 1 year ago)
- Language: Shell
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Composer-Activate
=================
[Composer][] allows packages to provide command line scripts called "vendor
binaries" to pass along to a user who installs the package. By default these
scripts are available in the `vendor/bin` directory.
Composer-Activate provides a script that will add the `vendor/bin` directory
to your shell's `PATH` so that you can call other vendor binary scripts
without the awkward `vendor/bin/` prefix.
Installation
------------
Composer-Activate is available on Packagist ([bd808/composer-activate][]) and
is installable via [Composer][].
{
"require": {
"bd808/composer-activate": "dev-master"
}
}
Usage
-----
After installing composer-activate, source `vendor/bin/composer_activate.bash`
in your shell:
$ . vendor/bin/composer_activate.bash
To deactivate:
$ composer_deactivate
---
[bd808/composer-activate]: https://packagist.org/packages/bd808/composer-activate
[Composer]: http://getcomposer.org