Download the PHP package wapplersystems/fe-registration without Composer

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

EXT:fe_registration

Frontend-Registrierung mit Double-Opt-In für TYPO3 v14. Die Extension stellt ein feregistration_registration-Content-Element bereit, das ein per EXT:form definiertes Registrierungsformular rendert und nach E-Mail-Bestätigung einen fe_users-Datensatz anlegt.

Schnellinstallation

Anschließend Site-Set wapplersystems/fe-registration in config/sites/<site>/config.yaml als Dependency eintragen, damit alle Finisher- und Validator-Defaults geladen werden:

Aufbau eines Registrierungs-Formulars

  1. Eine Form-YAML unter EXT:meinpaket/Resources/Private/Forms/ anlegen – z. B. basierend auf EXT:fe_registration/Configuration/Yaml/Forms/Standard.form.yaml.
  2. Pflichtfelder: mindestens ein Email-Feld und ein EmailConfirmation-Feld. Das EmailConfirmation-Feld trennt Pre-Confirmation (Daten erfassen, Bestätigungs-Mail senden) von Post-Confirmation (Daten aus Confirmation- Request laden, fe_users anlegen).
  3. Finisher-Block mit ConfirmationRequest + ConfirmationEmail, plus optional CompleteRegistration / FeUser / NewsletterSubscription – siehe Beispiel unten.

Mindest-Finisher-Block

Wichtig: Die preConfirmation: true-Markierung sorgt dafür, dass ConfirmationRequest und ConfirmationEmail nur beim ersten Submit ausgeführt werden. Beim Klick auf den Bestätigungslink (Post-Confirmation) entfernt RegistrationPatchFormFactory markierte Finisher automatisch, damit kein zweiter Confirmation-Request entsteht.

Content-Element konfigurieren

Im Backend ein Content-Element vom Typ "Frontend User Registration" anlegen. Im Reiter Plugin Options:

Feld Beschreibung
settings.form YAML-Form, die gerendert werden soll
settings.forward Seite, auf die nach erfolgreichem Abschluss weitergeleitet wird
settings.identifierFieldName Form-Feld, dessen Wert fe_users.username wird (Dropdown, aus YAML)
settings.emailFieldName Form-Feld, das die Empfänger-Mailadresse liefert (Dropdown, aus YAML)
settings.confirmationRequestPid Sysfolder für Confirmation-Requests
settings.feUserStoragePid Sysfolder für neu angelegte fe_users
settings.usergroups Welche fe_groups der neue User automatisch zugeordnet bekommt
settings.feUserMustConfirmed Wenn aktiv, bleibt der fe_users-Datensatz disable=1 bis ein Admin freigibt

identifierFieldName und emailFieldName werden im Backend als Dropdown mit den verfügbaren Form-Feldern der unter settings.form gewählten YAML befüllt. Nach Auswahl einer neuen Form muss der Datensatz einmal gespeichert werden, damit die Dropdowns aktualisiert erscheinen (TYPO3-Standardverhalten: "Refresh required"-Dialog).

URL-Beautification per Route Enhancer

Damit der Bestätigungslink in der Form /registrierung/confirm/<hash> statt mit GET-Parameter erscheint, im Site-Konfig folgenden routeEnhancer eintragen (Page-ID auf die Seite mit dem Registrierungs-CE anpassen):

Mail-Transport

Der Versand läuft über den TYPO3-Mailer ($GLOBALS['TYPO3_CONF_VARS']['MAIL']). Für lokale Tests bietet sich Mailpit (SMTP localhost:1025) an. In Produktion typischerweise SMTP-Auth, Sendmail oder WapplerSystems\MicrosoftGraphMailer\Mailer\GraphTransport.

Aufräumen abgelaufener Confirmation-Requests

Im Scheduler einplanen, damit nicht bestätigte Anfragen nicht ewig liegen bleiben.

Debugging


All versions of fe-registration with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
typo3/cms-core Version ^14.0
wapplersystems/form Version ^14.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 wapplersystems/fe-registration contains the following files

Loading the files please wait ...