Download the PHP package samjuk/m2-module-auto-login-admin without Composer

On this page you can find all versions of the php package samjuk/m2-module-auto-login-admin. 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 m2-module-auto-login-admin

SamJUK_AutoLoginAdmin

Supported Magento Versions CI Workflow Status GitHub Release

This module removes the Authentication step to access the admin panel, instead directly logs into a pre defined user.

It is aimed to be run within development and/or ephemeral environments only.

Whilst the module has protections builtin to avoid running in production, this code should never make it there to begin with.

Installation

Installation may vary depending on your specific environment.

Composer Dev Dependency

The recommended approach to installing the module is via a composer dev dependency. This should prevent the module from being installed on production/pre-production environments.

Manual

If for some reason your upstream environments are installing dev dependencies, you can opt for manual installation. Either at build time within your CI, or on the fly during deployment, by running the following from the project root.

Configuration

The default configuration of the module is to do nothing, even in development environments. With the potential risk involved, I deem, its better for the end user to be implicit in their intent to use this module.

That said, post installation, the module can be enabled with the following command.

A full breakdown of the available configuration is listed within the table below.

Config Path Default Description
samjuk_auto_login_admin/general/auto_login 0 Boolean flag to enable the module
samjuk_auto_login_admin/general/username admin Admin username to Auto Login as
samjuk_auto_login_admin/general/skip_production_mode_check 0 Boolean flag, for if the module should run in production mode.

All versions of m2-module-auto-login-admin with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0|^8.0
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 samjuk/m2-module-auto-login-admin contains the following files

Loading the files please wait ...