Download the PHP package hmmh/be-auto-login without Composer

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

TYPO3 Backend Auto Login

This extension will allow you to login to the TYPO3 backend without providing username and password manually. This may be quite usefull during development and may save a lot of time.

Installation

Installation can be done via the TYPO3 extension manager or by using composer. As auto login will only work in development mode use --dev option for composer installation.

composer require hmmh/be-auto-login --dev

Configuration

Access restrictions

For security reasons auto login will only be possible if your TYPO3 system is running in development application context, see TYPO3 API reference for a general explanation.

Additionally you can restrict auto login to a certain pool of IP addresses by modifying the the setting White list with ip addresses in the extension configuration. An IP address pool can be specified by a comma separated list of single IP addresses and IP ranges (defined by using "*" as wildcard character).

value description
* Any IP address. This is the default value
192.168.0.123 One specific IP address
192.168.0.123, 192.168.0.227 Two specific IP addresses
192.168.0.* A range of IP addresses from 192.168.0.0 to 192.168.0.255
192.168.0.*, 192.168.1.22, 192.168.1.23 Mixture of single IP addresses and IP ranges

How to auto login?

In order to use auto login you need the username of a valid TYPO3 backend user account. This username will be used to login using one of the following methods.

By .env file

If you always want to use the same user name for auto login you can simply define it in a .env file which has to be stored in your document root or in a folder above it.

Example .env file:

TYPO3_AUTOLOGIN_USER=example-user

By Cookie

If you need a bit more flexibility you can specify the user name by setting a cookie in your browser. You can do this by using the developer tools of the browser of your choice by using the built in developer console (often opened by pressing F12). Set the cookie name to TYPO3_AUTOLOGIN_USER and store the username as cookie value.

By GET parameter

The user name can be specified via GET parameter. To choose a user name for auto login you simply open your TYPO3 backend using http://127.0.0.1/typo3/?TYPO3_AUTOLOGIN_USER=admin (substitute 127.0.0.1 with your domain name).


All versions of be-auto-login with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^8.7.0 || ^9.5.0
helhum/dotenv-connector Version ^2.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 hmmh/be-auto-login contains the following files

Loading the files please wait ....