scafera/auth
Scafera Auth is a Laravel authentication package that streamlines user login, registration, and access control with ready-to-use components and a simple integration path for PHP applications.
Install the package via Composer and consult the new README introduction block for a quick overview. First use case: add a custom validation rule to a form request and reference it by its stable rule ID instead of the class name.
Leverage stable rule IDs to decouple validation logic from class names. Use them in validation arrays, test assertions, and configuration files. Example: 'email' => ['required', RuleId::UNIQUE_EMAIL]. Integrate with Laravel’s validator and form requests for consistent error handling and reuse across multiple forms.
Ensure rule IDs are unique across your application. Use the README introduction to verify installation and basic usage. Debug by checking the validator’s rule registry (if exposed). Extension points: override rule messages or add new rules while preserving stable IDs for backward compatibility.
How can I help you explore Laravel packages today?