Download the PHP package pagely/northstack-client without Composer
On this page you can find all versions of the php package pagely/northstack-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pagely/northstack-client
More information about pagely/northstack-client
Files in pagely/northstack-client
Package northstack-client
Short Description Commands for serverless environment management
License GPL-3.0-only
Informations about the package northstack-client
northstack-client
CLI Client and PHP Library to access the NorthStack NorthStack APIs
Installation
Requirements
There are two ways to install and run the NorthStack CLI. The primary means is a native install (which requires you to have PHP 7.2 installed) and a docker-based wrapper which does not. Both installation methods require you to have docker installed.
requirement | native | docker |
---|---|---|
docker | 17.09+ | 17.09+ |
php | 7.2+ | N/A |
OS | Linux or OSX | Linux |
The native install method is preferred and more performant, so it's best if you're able to install PHP >= 7.2 for your operating system. If you're running a modern Linux distro chances are you can just $packageManager install php72
. If you're using on OSX the easiest way to do this is use homebrew.
Install
Some installation settings are configurable via CLI arguments:
Post-install
The CLI is installed to $INSTALL_PREFIX/bin
(default ~/.local/bin
), which may or may not already be in your $PATH
. The installer attempt to update your rc files for you if this is the case:
Make sure to source ~/.bashrc
after this!
The CLI also supports tab-completion. The process for enabling this varies from platform to platform, but in a pinch you can also just add the completion hook to your bashrc:
Using the client
Login
This will save a login token to ~/.northstacklogin
. The login will be good for 14 hours.
After that you will need to login again.
This file will automatically be read by all other commands and used for authorization to the NorthStack API.
You may also use your API keys to log in using the auth:client-login
command.
When done, you may use the auth:logout
command or simply remove the ~/.northstacklogin
file.
Commands
Executing the northstack
command by itself will show the commands available.
To get usage help for any command, simply prefix the command name with help
Help!
What is my Account ID?
-
You can get your account ID by logging into https://console.northstack.com and looking at the address in your browser. Your account ID will be displayed on the dashboard labeled
Account ID
. - If you are a collaborator and need the ID for another account, log in to console (link above)
and use the account switcher (click your name in the upper right) and switch to the organization
in question. The
Account ID
on the dashboardwill change to reflect the current organization that you are viewing.
All versions of northstack-client with dependencies
ext-json Version *
rdlowrey/auryn Version ^1.4
guzzlehttp/guzzle Version ^6.3
vlucas/phpdotenv Version ^2.4
monolog/monolog Version ^1.21
namshi/cuzzle Version ^2.0
ramsey/uuid Version ^3.5
colinodell/json5 Version ^1.0
eloquent/enumeration Version ^5.1
ratchet/pawl Version ^0.3.2
giggsey/libphonenumber-for-php Version ^8.9
docker-php/docker-php Version ^2.0
alchemy/zippy Version dev-master
equip/data Version ^2.4
symfony/console Version ^4.3