New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

eyadcsdev/auth-core

Laravel authentication starter kit with Inertia React, social login, roles & permissions, passwordless auth, and admin user management.
18 2
Install
composer require eyadcsdev/auth-core
Latest Version:v1.0.4
PHP:^8.3
Laravel:13
License:MIT
Last Updated:Jun 25, 2026
Links: GitHub  ·  Packagist
Maintainer: eyadcsdev

AuthCore — Laravel Authentication Starter Kit

A production-ready Laravel authentication starter kit with Inertia + React, social login, role-based access control, passwordless authentication, and a full admin user management panel.

Built with the Gruvbox Dark theme and full RTL (Arabic) UI support.

Features

  • Authentication: Login, registration, email verification (OTP), password reset, passwordless magic links
  • Social Login: Google, GitHub, Facebook via Laravel Socialite (with approval workflow)
  • Role-Based Access: Student, Teacher, Department Head, Admin roles with granular permissions
  • User Approval: Admins approve/reject/suspend/activate user accounts
  • Admin Panel: User management, role CRUD, pending approval queue
  • Passwordless Auth: Magic link login via email
  • Session Management: View and revoke active sessions from profile
  • Security: Rate-limited auth endpoints, hashed reset tokens, production-ready defaults
  • UI: Gruvbox Dark theme, RTL Arabic layout, responsive sidebar navigation

Requirements

  • PHP ^8.3
  • Node.js 22+
  • SQLite (default) or MySQL/PostgreSQL

Quick Start

composer create-project eyadcsdev/auth-core my-app

cd my-app

# (Optional) Configure .env — social login keys, mail driver, etc.

php artisan serve

Visit http://localhost:8000/register to create the first account.

Note: The first user to register automatically becomes the admin. Default registration requires admin approval.

Post-Installation

Social Login (Optional)

Configure OAuth credentials in .env:

GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
FACEBOOK_CLIENT_ID=your-facebook-app-id
FACEBOOK_CLIENT_SECRET=your-facebook-app-secret
MAIL_MAILER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=your-username
MAIL_PASSWORD=your-password

Development Server

composer run dev

This runs the PHP server, queue worker, logs, and Vite hot-reload concurrently.

Running Tests

php artisan test --compact

Screenshots

Tech Stack

Layer Technology
Backend Laravel 13
Frontend React 19 + Inertia.js 3
Styling Tailwind CSS 4
Auth Laravel Socialite + custom approval workflow
Database SQLite (default), MySQL/PostgreSQL compatible
Testing Pest + PHPUnit
CI GitHub Actions (tests + linter)

Security

j

  • Password reset tokens are hashed before storage
  • Rate limiting on all auth endpoints (5 attempts per minute)
  • OAuth credentials are never committed to the repository
  • Session management with device tracking
  • Permission-based middleware for all admin routes

License

AuthCore is open-sourced software licensed under the MIT license.

Related Packages

lucky-media/reactor

Minimal Laravel authentication scaffolding with React, Inertia and Tailwind CSS.

568 65
smart-cms/starter-kit

The starter kit for the Smart CMS application.

23 0
unotechno/starterkit

Laravel + React/Inertia starter kit with a CMS admin panel, JWT API, OTP, SMS an...

12 1
ryanc342/laravel-agent-starter

Laravel Agent Starter: a Laravel + Inertia + React starter kit with agent guidan...

7 0
lattice-php/starter-kit

A Laravel + Inertia + React starter kit powered by Lattice server-driven UI.

5 2

Version History

Version Released PHP Laravel License
v1.0.4 ^8.3 ^13.0 MIT
v1.0.3 ^8.3 ^13.0 MIT
v1.0.2 ^8.3 ^13.0 MIT
v1.0.1 ^8.3 ^13.0 MIT
v1.0.0 ^8.3 ^13.0 MIT