Download the PHP package undkonsorten/typo3-auto-login without Composer

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

TYPO3 Automatic BE Authentication

Tests Coverage

What does it do?

This package automatically starts a backend user session for the open source CMS TYPO3, configured by an environment variable. You can set a cookie to temporarily disable the automatic login. There‘s a bookmarklet that does the job for you.

It is based on the Daniel Siepmann‘s great work. If you feel like saying "Thank you" or donating please consider him first!

Warning

Be considerate when using this tool. Always have security in mind.

Any usage beyond development on a local machine is strongly discouraged.

Make sure to only require this package with --dev option and check your deployment for measures to make sure the code is never deployed to a production system.

By using this package you agree to be responsible for any damages arising from its usage.

Installation

Usage without composer has not been tested but might be perfectly possible if you take care about class (auto) loading by yourself.

Usage

To configure username for automatic login set the environment variable $TYPO3_AUTOLOGIN_USERNAME somewhere in your environment.

Add an initialization call in your AdditionalConfiguration.php or in a file required from there. Make sure to only initialize the service for Development context by either wrapping it with a condition or putting it to a file only loaded in Development context.

Autologin will fail and throw an exception in Production(/*) contexts.

Bookmarklet

There are reasons to temporarily disable the automatic login. For this, there‘s a bookmarklet that (un)sets the cookie _typo3-auto-login for you to prevent autologin. Just add a new bookmark with the following "URL"

and name the file according to your likings.

Q&A


All versions of typo3-auto-login with dependencies

PHP Build Version
Package Version
Requires php Version ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
typo3/cms-core Version ^11.5.4 || ^12.4 || ^13.3
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 undkonsorten/typo3-auto-login contains the following files

Loading the files please wait ....