PHPackages                             undkonsorten/typo3-auto-login - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. undkonsorten/typo3-auto-login

ActiveTypo3-cms-extension[Authentication &amp; Authorization](/categories/authentication)

undkonsorten/typo3-auto-login
=============================

Automatically authenticates a TYPO3 CMS backend user for development.

2.3.0(3mo ago)14128.5k↓26.6%4GPL-2.0-or-laterPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Aug 21Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/undkonsorten/typo3-auto-login)[ Packagist](https://packagist.org/packages/undkonsorten/typo3-auto-login)[ RSS](/packages/undkonsorten-typo3-auto-login/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (19)Used By (0)

TYPO3 Automatic BE Authentication
=================================

[](#typo3-automatic-be-authentication)

[![Tests](https://github.com/undkonsorten/typo3-auto-login/workflows/Tests/badge.svg)](https://github.com/undkonsorten/typo3-auto-login/actions?query=workflow%3ATests)[![Coverage](https://camo.githubusercontent.com/e8efedbd446c21e1ee7590bbd89acfa1a6de52769f9a5654881ae54ab73018d7/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f756e646b6f6e736f7274656e2f7479706f332d6175746f2d6c6f67696e)](https://coveralls.io/github/undkonsorten/typo3-auto-login)

What does it do?
----------------

[](#what-does-it-do)

This package automatically starts a backend user session for the open source CMS [TYPO3](https://typo3.org), configured by an environment variable. You can set a cookie to temporarily disable the automatic login. There‘s a [bookmarklet](#bookmarklet)that does the job for you.

It is based on the Daniel Siepmann‘s [great work](https://daniel-siepmann.de/Posts/2018/2018-07-25-auto-login-typo3-backend.html). If you feel like saying "Thank you" or donating please consider him first!

Warning
-------

[](#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
------------

[](#installation)

```
composer require --dev undkonsorten/typo3-auto-login
```

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

Usage
-----

[](#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.

```
if (\TYPO3\CMS\Core\Core\Environment::getContext()->isDevelopment()) {
    \Undkonsorten\TYPO3AutoLogin\Utility\RegisterServiceUtility::registerAutomaticAuthenticationService();
}
```

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

### Bookmarklet

[](#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"

```
javascript:(q=>{let n=window.Notification,s='_typo3-auto-login',d='disable',p='TYPO3 auto login',w=document,a=w.cookie.split(';').some(x=>x.trim()===`${s}=${d}`);w.cookie=`${s}=${a?';expires='+new Date(0).toUTCString():d};path=/;`;n&&n.permission!=='denied'&&n.requestPermission().then(q=>new n(p,{body:`(${a?'✓':'✗'}) ${p} is now ${a?'enabled':'disabled'}. Cookie »${s}« has been ${a?'removed':'set'}.`,icon:'https://extensions.typo3.org/fileadmin/user_upload/ext_icon.png'}));})();

```

and name the file according to your likings.

Q&amp;A
=======

[](#qa)

- **Q**: *My user is not authenticated, what‘s wrong?*

    **A**: Either you have a typo in the username or your environment variable hasn‘t taken effect yet. You might need to restart your web server, docker container or the like. Or you‘re running `Production` context…

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity41

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 64.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~227 days

Recently: every ~191 days

Total

13

Last Release

104d ago

Major Versions

0.2.0 → 1.0.02019-03-11

1.3.0 → 2.0.02023-03-28

PHP version history (8 changes)0.0.1PHP ^5.5 || ^7.0

1.1.0PHP &gt;= 7.1 &lt; 7.4

1.2.0PHP ^7.1

1.3.0PHP ^7.1 || ~8.0

2.0.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

2.1.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

2.2.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

2.3.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a192083f4fc05fe8020592c9b5222677998fcf0e779df21ecb51016d8fd45f98?d=identicon)[undkonsorten](/maintainers/undkonsorten)

---

Top Contributors

[![eliashaeussler](https://avatars.githubusercontent.com/u/16313625?v=4)](https://github.com/eliashaeussler "eliashaeussler (83 commits)")[![kanow](https://avatars.githubusercontent.com/u/16071530?v=4)](https://github.com/kanow "kanow (38 commits)")[![cumuru](https://avatars.githubusercontent.com/u/12487311?v=4)](https://github.com/cumuru "cumuru (4 commits)")[![arbonia-koehnlein](https://avatars.githubusercontent.com/u/235669314?v=4)](https://github.com/arbonia-koehnlein "arbonia-koehnlein (3 commits)")[![Kanti](https://avatars.githubusercontent.com/u/471387?v=4)](https://github.com/Kanti "Kanti (1 commits)")

### Embed Badge

![Health badge](/badges/undkonsorten-typo3-auto-login/health.svg)

```
[![Health](https://phpackages.com/badges/undkonsorten-typo3-auto-login/health.svg)](https://phpackages.com/packages/undkonsorten-typo3-auto-login)
```

###  Alternatives

[in2code/femanager

Modern TYPO3 Frontend User Registration.

49745.4k6](/packages/in2code-femanager)[typo3/cms-felogin

TYPO3 CMS Frontend Login - A template-based plugin to log in website users in the TYPO3 frontend.

116.7M99](/packages/typo3-cms-felogin)[causal/ig_ldap_sso_auth

This extension provides LDAP support for TYPO3 by delegating the authentication of frontend and/or backend users to the centrally-managed directory of your organization. It fully supports OpenLDAP and Active Directory and is capable of connecting securely to the authentication server using either TLS or SSL (ldaps://). In case of use in an intranet environment, this extension is a perfect match since it natively brings Single Sign-On (SSO) capability to TYPO3 without any complex configuration.

33377.4k](/packages/causal-ig-ldap-sso-auth)[friendsoftypo3/openid

OpenID authentication for TYPO3 CMS

1396.0k](/packages/friendsoftypo3-openid)[b13/permission-sets

Allows for deployable and re-usable permission sets for backend users

2964.0k3](/packages/b13-permission-sets)[mfc/oauth2

Generic OAuth2 authentication and authorization for TYPO3 CMS

11290.6k2](/packages/mfc-oauth2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
