Download the PHP package o-ba/fe-login-mode without Composer

On this page you can find all versions of the php package o-ba/fe-login-mode. 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 fe-login-mode

"Frontend user login mode" - A rarely used TYPO3 functionality

The "frontend user login mode" functionality has been introduced to TYPO3 by Kasper back in 2004 to overcome caching issues on typo3.org and is rather an edge-case feature. Therefore, it is no longer part of the TYPO3 Core from v12.0+ onwards, but available as an extension, which solves the problem via modern techniques (using PSR-15 middlewares).

So what does it do?

The extension adds a new TCA field fe_login_mode to the pages table.

Using this field one can define branches, which should behave like if a user or user group is not logged in, even though the cookie - and the session - is kept for other areas of a website. This is useful when trying to reduce the amount of possible cache variants, especially in installations with complex user and user group setups.

As previously available in the Core, the TypoScript option config.sendCacheHeaders_onlyWhenLoginDeniedInBranch can be used to further restrict the transmission of cache headers.

Installation

In case you update a TYPO3 installation from v11 to v12, you can use the corresponding "Upgrade Wizard" in the TYPO3 install tool to fetch and install the extension.

Otherwise, install the extension either via composer composer req o-ba/fe-login-mode or download the extension from the TYPO3 Extension Repository and activate it in the Extension Manager of your TYPO3 installation.

License

The extension is licensed under GPL v2+, same as the TYPO3 Core. For details see the LICENSE file in this repository.

Open Issues

If you find an issue, feel free to report it on GitHub. You can also directly create a pull request.

Credits

This extension was created by Oliver Bartsch in 2022. The original credits go to the TYPO3 development team and the contributors, who have maintained this code for over 18 years until it was removed from Core.


All versions of fe-login-mode with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.0
typo3/cms-core Version ^12.0
typo3/cms-frontend Version ^12.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 o-ba/fe-login-mode contains the following files

Loading the files please wait ....