- What is tastyigniter/ti-ext-user used for?
- It is the core TastyIgniter extension for user management, covering customers, staff, authentication, registration, password resets, optional email verification, and admin impersonation. It also provides automation events for customer registration and conditions for customer attributes. It is intended for TastyIgniter applications, especially hospitality and restaurant platforms.
- How do I install tastyigniter/ti-ext-user?
- Install it with Composer inside a TastyIgniter project, typically using composer require tastyigniter/ti-ext-user, then run the required TastyIgniter migrations or update commands. In many TastyIgniter installations it is already present as a core extension. Follow the TastyIgniter extension documentation and confirm compatibility with your TastyIgniter version before installing.
- Does this package support Laravel 10, 11, or 12?
- The package targets TastyIgniter, which runs on Laravel, so Laravel compatibility follows your TastyIgniter release rather than a standalone Laravel support matrix. Check the Composer constraints and the TastyIgniter version requirements for the release you are using. For vanilla Laravel applications, use Laravel's native authentication packages instead.
- How do I enable or disable email verification for customer registration?
- Customer registration supports optional email verification, which is configured through TastyIgniter's user and registration settings rather than hardcoded in the extension. The exact admin setting location depends on your TastyIgniter configuration. After changing it, test the full registration and verification flow. For custom rules, extend the registration component or hook into the available events.
- How does admin impersonation work and is it safe in production?
- Administrators can impersonate customers or staff members for troubleshooting. Treat impersonation as a privileged feature and restrict it with appropriate permissions or middleware such as can:impersonate. Add auditing and a clear exit-impersonation flow to reduce abuse risk. Review access control carefully before enabling it in production.
- What events can I hook into for customer registration or login?
- The extension exposes TastyIgniter and Laravel-style events such as igniter.user.register and igniter.user.login, which you can use for welcome emails, analytics, fraud checks, or other custom logic. It also provides automation events and conditions for customer registration and attributes. Register listeners in your own extension or service provider. Confirm exact event payloads against your installed version.
- Can I use tastyigniter/ti-ext-user in a plain Laravel app without TastyIgniter?
- Not directly. It is tightly coupled to TastyIgniter components such as AdminAuth, igniter migrations, and ti-ext namespaces. Porting it to vanilla Laravel would require rewriting adapters and replacing TastyIgniter-specific authentication with Laravel's Auth. For generic Laravel SaaS applications, Laravel Breeze, Jetstream, Fortify, or Filament are better fits.
- What are alternatives to tastyigniter/ti-ext-user for Laravel user management?
- In vanilla Laravel, consider Laravel Breeze, Jetstream, Fortify, or Filament for admin user management. Within TastyIgniter, ti-ext-user is the core user extension and is typically required by other TastyIgniter features. If you need social login or SMS/OTP authentication, you will likely need custom development or separate packages. Choose based on whether you need TastyIgniter hospitality workflows such as impersonation.
- Is tastyigniter/ti-ext-user scalable for large customer bases?
- Recent v4.x releases include database indexes, eager loading, and query optimizations such as saveQuietly(), which help with mid-sized user bases. There is no explicit horizontal scaling documentation, so large deployments should benchmark queries, add caching and rate limiting, and monitor impersonation and session behavior. For very large or multi-tenant systems, plan custom architecture and test with realistic customer data.
- How do I test user registration, password reset, and impersonation in this extension?
- Use TastyIgniter's testing setup and Laravel's testing tools to cover registration with and without email verification, password reset tokens, and permission-restricted impersonation. Assert that expected events fire and automation conditions behave correctly. Include negative tests for unauthorized impersonation. Keep tests updated when upgrading TastyIgniter or the extension.