Download the PHP package wuxejian/filament-registration without Composer

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

Filament Registration

A Filament v5 plugin that wires up Filament-native user registration with pluggable captcha (Cloudflare Turnstile, Google reCAPTCHA v3) and configurable default-role assignment.

Filament has built-in ->registration() support, but the default flow is just name/email/password — no captcha, no role assignment, no event bridge for hosts that listen on Laravel's Registered event. This plugin fills those gaps as a drop-in replacement that still uses Filament's documented hooks (no register() reimplementation, no internal copy-paste).

Features

Installation

Add to your panel provider:

Both ->registration(Register::class) and ->plugin(FilamentRegistrationPlugin::make()) are required and not interchangeable. ->registration() with no argument uses Filament's default page; the captcha and role assignment only run when the explicit class is wired.

Optional: enable Filament's built-in email verification with ->emailVerification(). The plugin defers to it — when the panel requires verification, Filament sends the verification email; when it doesn't, new users are pre-marked verified.

Configuration

Captcha settings come from two layers, with the higher one winning:

  1. Database (managed via the Admin UI at Settings → Registration) — what the plugin shows in the form, with the secret encrypted at rest.
  2. Environment variables — useful for keeping secrets out of source control and per-environment overrides (e.g. test keys in staging, real keys in prod).

The captcha provider is detected from whichever layer wins; you don't need to wire each provider individually.

Environment variables

All optional. The plugin works fully through the Admin UI without any of these set.

Variable Default Purpose
FILAMENT_REGISTRATION_CAPTCHA_ENABLED unset (auto) Force captcha on (true) or off (false). When unset, captcha auto-enables if both SITE_KEY and SECRET_KEY are present, and stays off otherwise.
FILAMENT_REGISTRATION_CAPTCHA_PROVIDER turnstile turnstile (Cloudflare) or recaptcha_v3 (Google).
FILAMENT_REGISTRATION_CAPTCHA_SITE_KEY '' Public key embedded in the form. Safe to commit to source control if you want.
FILAMENT_REGISTRATION_CAPTCHA_SECRET_KEY '' Private key for server-side verification. Keep out of source control — env or DB only.
FILAMENT_REGISTRATION_CAPTCHA_RECAPTCHA_MIN_SCORE 0.5 reCAPTCHA v3 only. Tokens scoring below this threshold are rejected. Range 0.0 (lenient) – 1.0 (strict).

Example .env for production with Cloudflare Turnstile:

The Admin UI's "Secret key status" indicator reads ✓ Configured when either layer (DB or env) supplies a secret. So if your secret lives in .env, you can leave the form's secret field blank — the form treats blank as "keep current".

Authorization for the settings page

By default the page is accessible to any user who can reach the panel (i.e. anyone who passes the panel's auth middleware). The plugin doesn't ship a built-in permission gate because Filament users have very different auth setups (some use Shield, some Bouncer, some plain canAccess(), some panel-level middleware). Pick whichever fits your app:

Using TallCMS + Multisite plugin? (zero config)

If you're running TallCMS with the Multisite plugin (the SaaS-style site-builder mode), install the tallcms/registration bridge plugin and you're done — the bridge gives you the full SaaS signup flow out of the box:

No subclassing, no canAccess() override — TallCMS Multisite handles it. Read more at tallcms.com.

Using TallCMS without Multisite?

The bridge plugin is mostly Multisite-coupled (its onboarding redirect and site-plan assignment both no-op without the Multisite plugin). For a vanilla TallCMS install, skip the bridge and use this plugin directly:

On gating the settings page: TallCMS's panel already requires authenticated admin access (canAccessPanel()), so unless you want a stricter gate (e.g. "only super_admin can edit captcha keys, not editor or author"), you don't need to add anything else. If you do want that stricter cut, see the Shield subclass recipe below — note that Shield can't auto-discover this page (it's a vendor class without HasPageShield), so the subclass is the canonical wire-up; no shield:generate magic alternative exists.

Filament Shield users {#filament-shield-users}

Subclass the page and add the trait, then point your panel at the subclass:

Then run php artisan shield:generate --page=RegistrationSettings --panel=<id> once and grant the resulting View:RegistrationSettings permission to roles via the Shield UI.

Plain canAccess() users

Subclass and override:

Optional dependency note: role assignment via defaultRole(...) requires spatie/laravel-permission (suggested in composer.json). Hosts without Spatie permissions get role assignment as a no-op — no fatal error, the user is still created.

Customising the post-register redirect

Bind a custom response in your service provider:

Your concrete just needs to implement RegistrationResponse (which extends Responsable) and return a RedirectResponse from toResponse().

Behaviour notes

Compatibility

License

MIT.


All versions of filament-registration with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^5.0
illuminate/support Version ^11.0|^12.0|^13.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 wuxejian/filament-registration contains the following files

Loading the files please wait ...