Download the PHP package easyengine/auth-command without Composer

On this page you can find all versions of the php package easyengine/auth-command. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package auth-command

easyengine/auth-command

Configure HTTP Authentication and whitelisting for EasyEngine site

Quick links: Support

Using

This package implements the following commands:

ee auth

Configure HTTP Authentication and whitelisting for EasyEngine site

ee auth

EXAMPLES

   # Add auth to a site
   $ ee auth create example.com --user=test --pass=test

   # Delete auth from a site
   $ ee auth delete example.com --user=test

ee auth create

Creates http authentication for a site.

ee auth create [<site-name>] [--user=<user>] [--pass=<pass>] [--ip=<ip>]

OPTIONS

[<site-name>]
    Name of website / `global` for global scope.

[--user=<user>]
    Username for http auth.

[--pass=<pass>]
    Password for http auth.

[--ip=<ip>]
    IP to whitelist.

EXAMPLES

# Add auth on site with default username(easyengine) and random password
$ ee auth create example.com

# Add auth on all sites with default username and random password
$ ee auth create global

# Add auth on site with predefined username and password
$ ee auth create example.com --user=test --pass=password

# Add auth on site with default username and random password
$ ee auth create example.com --pass=password

# Whitelist IP on site
$ ee auth create example.com --ip=8.8.8.8,1.1.1.1

# Whitelist IP on all sites
$ ee auth create global --ip=8.8.8.8,1.1.1.1

ee auth delete

Deletes http authentication for a site. Default: removes http authentication from site. If --user is passed it removes that specific user.

ee auth delete [<site-name>] [--user=<user>] [--ip]

OPTIONS

[<site-name>]
    Name of website / `global` for global scope.

[--user=<user>]
    Username that needs to be deleted.

[--ip]
    IP to remove. Default removes all.

EXAMPLES

# Remove auth on site and its admin tools with default username(easyengine)
$ ee auth delete example.com

# Remove auth on site and its admin tools with custom username
$ ee auth delete example.com --user=example

# Remove global auth on all sites (but not admin tools) with default username(easyengine)
$ ee auth delete global

# Remove specific whitelisted IPs on site
$ ee auth delete example.com --ip=1.1.1.1,8.8.8.8

# Remove all whitelisted IPs on site
$ ee auth delete example.com --ip

# Remove whitelisted IPs on all sites
$ ee auth delete global --ip=1.1.1.1

ee auth list

Lists http authentication users of a site.

ee auth list [<site-name>] [--ip] [--format=<format>]

OPTIONS

[<site-name>]
    Name of website / `global` for global scope.

[--ip]
    Show whitelisted IPs of site.

[--format=<format>]
    Render output in a particular format.
    ---
    default: table
    options:
      - table
      - csv
      - yaml
      - json
      - count
    ---

EXAMPLES

# List all auth on site
$ ee auth list example.com

# List all global auth
$ ee auth list global

ee auth update

Updates http authentication password for a site.

ee auth update [<site-name>] [--user=<user>] [--pass=<pass>] [--ip=<ip>]

OPTIONS

[<site-name>]
    Name of website / `global` for global auth.

[--user=<user>]
    Username for http auth.

[--pass=<pass>]
    Password for http auth.

[--ip=<ip>]
    IP to whitelist.

EXAMPLES

# Update auth password on global auth with default username and random password
$ ee auth update global --user=easyengine

# Update auth password on site with predefined username and password
$ ee auth update example.com --user=test --pass=password

# Update whitelisted IPs on site
$ ee auth update example.com --ip=8.8.8.8,1.1.1.1

# Update whitelisted IPs on all sites
$ ee auth update global --ip=8.8.8.8,1.1.1.1

Contributing

We appreciate you taking the initiative to contribute to this project.

Contributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.

Reporting a bug

Think you’ve found a bug? We’d love for you to help us get it fixed.

Before you create a new issue, you should search existing issues to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.

Once you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please create a new issue. Include as much detail as you can, and clear steps to reproduce if possible.

Creating a pull request

Want to contribute a new feature? Please first open a new issue to discuss whether the feature is a good fit for the project.

Support

Github issues aren't for general support questions, but there are other venues you can try: https://easyengine.io/support/

This README.md is generated dynamically from the project's codebase using ee scaffold package-readme (doc). To suggest changes, please submit a pull request against the corresponding part of the codebase.


All versions of auth-command with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package easyengine/auth-command contains the following files

Loading the files please wait ....