baks-dev/auth-email
Laravel/PHP package for user authentication via email. Provides installable configuration/assets and Doctrine migration support to update the database schema. Includes PHPUnit tests (auth-email group) and requires PHP 8.4+.
Laravel Compatibility (Updated):
symfony/console v6.x) may introduce minor compatibility friction, though unlikely to break core functionality.Authentication Paradigm:
Monolithic Dependencies:
baks-dev/core (v7.4) remains hard-coupled; no signs of modularization.Dependency Conflicts (Unchanged):
baks-dev/core conflicts.Console Commands:
Console integration; Laravel Artisan wrappers still required.New Risk:
HttpFoundation), but unlikely to affect auth logic directly.High Risk (Unchanged):
Key New Risks:
HttpClient).app:env improvements).breeze/jetstream offer superior maintainability?HttpFoundation changes affecting request handling.baks-dev/core updates in a Laravel project?
composer.json overrides suffice, or is a fork required?Laravel Version Compatibility:
Recommended Stack (Unchanged):
php artisan baks:install).Dependency Isolation (Critical):
composer require baks-dev/auth-email:7.4.9 in a fresh Laravel 11 project.baks-dev/core conflicts, use Laravel’s replace config:
"replace": {
"baks-dev/core": "vendor/package/core" // Hypothetical workaround
}
Database Schema (Unchanged):
php artisan doctrine:migrations:diff or manually translate to Eloquent.Authentication Flow (Unchanged):
AuthManager binding:
Auth::extend('baks-email', function ($app) {
return new BaksEmailGuard();
});
Frontend Integration (Unchanged):
AuthController or use middleware to bridge Symfony routes.Request objects).baks-dev/captcha; replace with spatie/laravel-recaptcha if possible.baks-dev/core conflicts via forking or overrides.symfony/http-client) that add latency.| Scenario | Impact | Mitigation Strategy |
|---|---|---|
| Symfony 7.0+ deprecations | App crashes or auth failures | Pin to symfony/*:6.x in composer.json. |
| Doctrine/Eloquent mismatch | Data corruption or auth failures | Use a separate database for package tables. |
baks-dev/core updates |
Breaking changes in Laravel | Fork the package and isolate dependencies. |
| PHP 8.4+ deprecations | Package breaks in future Laravel | Test against Laravel 12+ early. |
HttpClient, HttpFoundation).Schema builder.How can I help you explore Laravel packages today?