Download the PHP package digitalzombies/be-invite without Composer

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

Backend User Invite (be_invite)

Invite backend users by email instead of creating accounts with a password you have to communicate out of band.

An administrator enters an email address, an optional name and one or more backend user groups. The extension creates the be_users record with a random, never-disclosed password and emails the invitee a link that lets them set their own password through TYPO3's regular password reset screen.

Requirements

TYPO3 14.0 – 14.99 (v14 only)
PHP 8.2+

A working mail setup ($GLOBALS['TYPO3_CONF_VARS']['MAIL']) is required — without it the account is created but the invitation cannot be delivered, and the extension will say so.

Installation

Then flush the caches. No database schema changes, no TypoScript, no configuration.

Usage

  1. Log in to the TYPO3 backend as an administrator.
  2. Open System › Backend Users.
  3. Click Invite user in the docheader.
  4. Fill in the email address, optionally a name, and select at least one user group.
  5. Confirm your own password when TYPO3's sudo mode dialog appears.

The invitee receives an email with an activation link. Their username is their email address.

📖 Full documentation with screenshots

How it works

Step Where
"Invite user" button injected into the docheader Classes/EventListener/AddInviteButtonListener.php (PSR-14, ModifyButtonBarEvent)
Modal + form + AJAX Resources/Public/JavaScript/invite-module.js
Endpoints /be-invite/groups (GET), /be-invite/create (POST) Configuration/Backend/AjaxRoutes.php → Classes/Controller/InviteController.php
Account creation, token generation, mail dispatch Classes/Service/InviteService.php
Email body Resources/Private/Templates/Email/Invitation.{html,txt}

The reset link is generated the same way TYPO3 core generates password reset links — same token layout, same password-reset HMAC scope, same password_reset_token column — so it is validated by core's untouched password_reset_validate route. Only the lifetime differs.

Security notes

Customising the invitation email

The templates are registered under MAIL/templateRootPaths[1700000000]. Override them by registering your own path with a higher key:

and providing Invitation.html / Invitation.txt. Available variables: name, email, resetLink.

The shipped templates are English only. The recipient has no backend account language preference yet at invitation time, so no automatic language selection is attempted.

Translations

Backend UI labels ship in English, German and Hungarian (Resources/Private/Language/{locallang,de.locallang,hu.locallang}.xlf, 24 keys each). The same file feeds PHP (LLL:EXT:…) and JavaScript (lll() via TYPO3.lang).

Tests

12 unit tests and 28 functional tests. The extension installs its own test environment into .Build/, so a checkout is enough:

Functional tests create and drop databases, so they need a MySQL/MariaDB server and an account allowed to do that:

Both suites run with failOnDeprecation, failOnNotice, failOnWarning and failOnRisky, and run in CI on PHP 8.2, 8.3 and 8.4 — which resolve PHPUnit 11, 12 and 13 respectively, so the suites are kept clean on all three.

Contributing

Issues and pull requests are welcome. Please make sure both suites pass and keep them green on every supported PHP version; CI enforces this, and it also fails on TYPO3 deprecations.

License

GPL-2.0-or-later


All versions of be-invite with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^14.0
typo3/cms-backend Version ^14.0
typo3/cms-beuser Version ^14.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 digitalzombies/be-invite contains the following files

Loading the files please wait ...