tastyigniter/ti-ext-user
Core TastyIgniter extension for user management: administer customers and staff, authentication and registration (optional email verification), password resets, and admin impersonation. Includes automation events for customer registration and attribute conditions.
Pros:
igniter.user.register, igniter.user.login) and service providers for custom logic injection (e.g., analytics, fraud detection).Auth::impersonate()) and bulk user management reduce backend development for hospitality-specific workflows (e.g., resolving customer issues in real-time).saveQuietly() for silent saves), addressing scalability concerns for mid-sized user bases.Cons:
AdminAuth, igniter:up migrations, ti-ext-* namespace). Risk: Porting to vanilla Laravel requires rewriting adapters (e.g., replacing AdminAuth with Laravel’s Auth).telephone with country codes) are niche. Generic SaaS use cases may need custom overrides.AdminController vs. Laravel’s Controller).AdminAuth → Laravel’s Auth). Example: Overriding AuthServiceProvider to replace igniter events with Laravel’s auth.attempting/authenticated.ti-ext-orders). Risk increases with custom TastyIgniter modifications.saveQuietly() usage to avoid silent save pitfalls.can:impersonate) to prevent privilege escalation.bcrypt hashing and password reset tokens.AdminAuth)?hasPermission may not cover complex matrix rules.Customer::with('addresses')->get()).POST /api/login).// Leverages Laravel’s Auth system
Auth::attempt($credentials);
// Uses Laravel events
event(new Registered($user));
AdminAuth, igniter:up migrations). Assumes:
Admin facade for admin routes.ti-ext-* namespace conventions.AdminAuth with Laravel’s Auth).AuthServiceProvider to remove igniter event bindings.users, customers tables). Vanilla Laravel may need schema adjustments.| Step | Task | Effort | Dependencies |
|---|---|---|---|
| 1 | Install Package | Low | Composer, Laravel |
composer require tastyigniter/ti-ext-user |
|||
| 2 | Run Migrations | Medium | Database |
php artisan igniter:up (TastyIgniter) or custom migrations (vanilla) |
|||
| 3 | Configure Admin | Medium | TastyIgniter (if applicable) |
Set registration emails, permissions, and impersonation roles in config/ti-ext-user.php. |
|||
| 4 | Override Defaults | High (if needed) | Laravel |
Extend models/controllers (e.g., app/Extensions/User/Events/Registered.php). |
|||
| 5 | Frontend Integration | Medium | Frontend Framework |
- Blade: Use @include('ti-ext-user::auth.login').- SPA: Create API endpoints (e.g., POST /api/auth/login). |
|||
| 6 | Test Core Flows | High | QA Team |
| Validate: registration, login, impersonation, password resets. | |||
| 7 | Custom Hooks | Medium | Business Logic |
Subscribe to events (e.g., igniter.user.register) for custom actions. |
composer.json for exact range).TastyIgniter\Extensions\User). Conflicts unlikely unless overriding core Laravel classes.User models may clash with ti-ext-user's Customer/User models. Solution: Use trait composition or alias models.AuthServiceProvider.How can I help you explore Laravel packages today?