Download the PHP package pagemachine/hairu without Composer

On this page you can find all versions of the php package pagemachine/hairu. 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 hairu

Hairu CI

Flexible login/logout form based on Extbase/Fluid to replace the felogin extension shipped with TYPO3 CMS.

入る (hairu, Japanese) means "enter"

Installation

This extension is installable from various sources:

  1. Via Composer:

    composer require pagemachine/hairu
  2. From the TYPO3 Extension Repository
  3. From Github

After installation two new content elements Authentication form and Password edit form will be available in the Form elements section. Make sure to also include the static template.

Configuration

After including the static template a few options will be available in the Template Constant Editor for customization.

Make sure you set at least the Default storage PID to the page where your frontend user records are stored.

You can also use the stdWrap property on any settings value for custom processing. Example for easy translation of the password reset mail subject:

plugin.tx_hairu {
  settings {
    passwordReset {
      mail {
        subject.stdWrap.data = LLL:.../locallang.xlf:passwordReset.mail.subject
      }
    }
  }
}

Password validation

The validation rules applied within the password reset and update process can be customized freely through TypoScript. Example from the default configuration:

plugin.tx_hairu {
  // ...
  mvc.validation {
    // Validation of Authentication controller action arguments
    Authentication {
      // ...
      completePasswordReset {
        password {
          1 {
            type = StringLength
            options {
              minimum = 5
            }
          }
        }
      }
    }

    Password {
      updatePassword {
        password {
          1 {
            type = StringLength
            options {
              minimum = 5
            }
          }
        }
      }
    }
  }
}

You can use any validator type as long as Extbase can resolve it. In the example the builtin StringLength validator is set with a minimum length of 5.

The following formats for the validator type are supported:

Issues

Found a bug? Need a feature? Let us know through our issue tracker.

Testing

All tests can be executed with the shipped Docker Compose definition:

docker-compose run --rm app composer build

Credits

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY


All versions of hairu with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
typo3/cms-core Version ^9.5.6 || ^10.4
typo3/cms-extbase Version ^9.5.6 || ^10.4
typo3/cms-fluid Version ^9.5.6 || ^10.4
typo3/cms-frontend Version ^9.5.6 || ^10.4
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 pagemachine/hairu contains the following files

Loading the files please wait ....