Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Registrar

Laravel Registrar Laravel Package

genealabs/laravel-registrar

GeneaLabs Laravel Registrar offers a fluent, convention-driven API for registering service container bindings, aliases, and providers in Laravel, reducing boilerplate in service providers and keeping application wiring organized, reusable, and easy to maintain across projects.

View on GitHub
Deep Wiki
Context7

Laravel Registrar is a lightweight package that adds a configurable user registration flow to Laravel applications. It provides a reusable registrar service around Laravel’s authentication stack, so you can define validation, user creation, and post-registration behavior without duplicating controller logic.

  • Configurable registration pipeline and validation rules
  • Custom user fields, model, and creation logic
  • Redirects and events after successful registration
  • Seamless integration with Laravel authentication
  • Publishable configuration for app-specific setup
Frequently asked questions about Laravel Registrar
What does genealabs/laravel-registrar actually do?
Its stated purpose is user account activation via email confirmation for Laravel, while the package blurb also frames it as a lightweight registrar for organizing class registration and service-provider bootstrapping. Those two descriptions point at different surfaces, so read the repository source and README before adopting it. Decide which behavior you actually need: an activation and verification flow, or binding and alias organization. Do not assume both features exist in the 0.1.6 release.
How do I install genealabs/laravel-registrar in a Laravel app?
Install with composer require genealabs/laravel-registrar, then check the README for any publishable config, views, or migrations and run php artisan migrate if migrations ship with it. Because the package is pre-1.0, install a specific version rather than a loose range. Clear config and route caches after installing so new routes and bindings register. Confirm whether the service provider is auto-discovered or must be listed manually in your application config.
Which Laravel and PHP versions does laravel-registrar support?
The available evaluation data does not list supported Laravel or PHP constraints, so check the require block in the package composer.json and the CI matrix in the repository. On a 0.1.x package those constraints may be narrower than expected and may not yet cover the newest Laravel release. Test on your exact Laravel and PHP versions in a branch before merging into main.
How does the email confirmation and account activation flow work?
The package is described as providing account activation via email confirmation, which typically means a new user is stored in an unactivated state, an email containing a signed token or link is sent, and the account is marked active when that link is visited. The exact implementation, token storage, and expiry behavior are not documented in the material available here. Read the package source for the routes, controller, and notification involved, and confirm whether activation is a boolean flag, a timestamp, or an event. That detail determines how you migrate existing users and how you test the flow.
How do I configure the activation email, token lifetime, and routes?
There is no documented configuration surface in the material reviewed, so inspect the package for a config file, publishable views, and mail notifications before assuming defaults. Common customization points to look for are the activation route prefix, middleware, token lifetime, and the notification class used to send the email. If any of these are hardcoded, override the notification and wrap the activation routes with throttling middleware. Publish and commit any config file so environment differences are explicit and reviewable.
Is laravel-registrar safe to use in production?
Treat it as pre-1.0: the 0.1.x line makes no API stability promise, and minor releases can and should be expected to carry breaking changes. The 0.1.6 release fixed a double-save issue, which means earlier versions may have written data twice along some path. If you already run it in production, audit the rows and downstream side effects it created rather than only upgrading. For a new project, weigh a first-party alternative before committing to it.
What was the double-save bug fixed in 0.1.6, and is my data affected?
The 0.1.6 release note only says double-save issue, and the root cause is not stated, which makes the blast radius hard to judge. Depending on the cause, affected versions may have produced duplicate rows, duplicate emails or webhooks, or doubled model events that fired downstream listeners such as search indexing or cache invalidation. Check for duplicate records and repeated side effects in any environment that ran 0.1.5 or earlier. Add a unique constraint or idempotency guard defensively, and confirm the fix is covered by a regression test before relying on it.
Does laravel-registrar conflict with Breeze, Fortify, or Jetstream email verification?
Laravel ships email verification through the MustVerifyEmail contract and the verified middleware, and Breeze, Fortify, and Jetstream all build on that flow. Running the package's activation logic alongside those can produce two competing verification mechanisms, duplicate emails, or middleware that blocks users the package already considers active. Pick one approach per application, or explicitly disable the framework verification routes and middleware if you adopt the package's flow. Test the full register, verify, and login path after wiring it in.
How should I test the registration and activation flow?
Write a feature test that registers a user, asserts the account is not yet active, extracts the activation token or signed URL, visits it, and asserts the account is now active. Assert that exactly one user row is created and exactly one mail is queued or sent, which is the cheapest guard against a double-save regression. Use Mail, Event, and Notification fakes, and add cases for expired, reused, and tampered tokens. Run that suite against the exact Laravel and PHP versions you deploy.
Should I pin the version, and what alternatives should I consider?
Pin to an exact version or a commit in composer.json rather than a ^0.1 range, because on a 0.x package a minor bump can break your app and can arrive silently on the next composer update. Review the changelog for every release and keep your own regression tests around the activation flow so an upgrade cannot pass unnoticed. If you only need standard email verification, Laravel's built-in MustVerifyEmail flow, Fortify, Breeze, or Jetstream are first-party options with more predictable maintenance and support.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo