PHPackages                             tina4components/tina4login - 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. tina4components/tina4login

ActiveComposer-plugin[Authentication &amp; Authorization](/categories/authentication)

tina4components/tina4login
==========================

This is a package will render a login screen and register screen that work with tina4sso

123PHP

Since Jan 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JonoRabie011/Tina4Login)[ Packagist](https://packagist.org/packages/tina4components/tina4login)[ RSS](/packages/tina4components-tina4login/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Welcome to TINA4LOGIN module
----------------------------

[](#welcome-to-tina4login-module)

To install the module, you can use the following command:

```
composer require tina4components/tina4login
```

To use the module the following .env variables are required:

```
SSO_TOKEN=
SSO_REDIRECT_URL=
SSO_BASE_TWIG_FILE=tina4Login-base.twig |
```

Once you have installed the following routes will be available:

```
 /tina4/login - Login Page html

 /tina4/register - Register Page html

```

To see how the module handles the login and register requests you can look at the following code: [Default Request Helper Implementation ](https://github.com/JonoRabie011/Tina4Login/blob/master/Tina4Login/Tina4LoginRequestHelper.php)

To override this functionality you can create your own implementation of the `Tina4LoginRequestHandler`interface and set it using the `Tina4LoginRequestFactory` class. As shown in the example below:

```
