Skip to content

[v5.x] feat: scaffold auth#9246

Open
peaklabs-dev wants to merge 8 commits intov5.xfrom
v5.x-feat/scaffold-auth
Open

[v5.x] feat: scaffold auth#9246
peaklabs-dev wants to merge 8 commits intov5.xfrom
v5.x-feat/scaffold-auth

Conversation

@peaklabs-dev
Copy link
Copy Markdown
Member

@peaklabs-dev peaklabs-dev commented Mar 28, 2026

Add all needed v4 & new v5 columns to the users table and refactored protected $hidden to the new
Laravel 13 #[Hidden] attribute.

Changes

  • Scaffold user model and users table migration according to the v5 strict rules
  • Expire user remember me tokens after 14 days
  • Remove comment on job batches and password reset migration
  • Skip PostIncDecToPreIncDecRector and AddHasFactoryToModelsRector Rector rules
    • Pint enforces post-increment style via the laravel preset while Rector enforces pre-increment style via PostIncDecToPreIncDecRector
    • AddHasFactoryToModelsRector adds HasFactory to all models including ones that do not have factories
  • Fixes maintenance store requiring cache table
  • Adjust files for local dev until docker is ready

v4 Comparison

  • Added separate notification email in addition to the user's account email
  • Added "remember me" option on login, keeping users authenticated for 14 days (without it, sessions expire after 24 hours of inactivity)

This is part 1 of 3 in a stack made with GitButler:

@peaklabs-dev peaklabs-dev force-pushed the v5.x-feat/scaffold-auth branch from cfad38a to d355a18 Compare March 30, 2026 17:45
@peaklabs-dev peaklabs-dev marked this pull request as ready for review March 30, 2026 17:53
@peaklabs-dev peaklabs-dev requested a review from a team March 30, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant