PHPackages                             eyadcsdev/auth-core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. eyadcsdev/auth-core

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

eyadcsdev/auth-core
===================

Laravel authentication starter kit with Inertia React, social login, roles &amp; permissions, passwordless auth, and admin user management.

v1.0.2(1w ago)013↑130.8%MITTypeScriptPHP ^8.3CI failing

Since May 30Pushed 1w agoCompare

[ Source](https://github.com/eyadcsdev/AuthCore)[ Packagist](https://packagist.org/packages/eyadcsdev/auth-core)[ RSS](/packages/eyadcsdev-auth-core/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (15)Versions (4)Used By (0)

AuthCore — Laravel Authentication Starter Kit
=============================================

[](#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
--------

[](#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
------------

[](#requirements)

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

Quick Start
-----------

[](#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
-----------------

[](#post-installation)

### Social Login (Optional)

[](#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 Driver (for password reset, OTP, magic links)

[](#mail-driver-for-password-reset-otp-magic-links)

```
MAIL_MAILER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=your-username
MAIL_PASSWORD=your-password
```

### Development Server

[](#development-server)

```
composer run dev
```

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

### Running Tests

[](#running-tests)

```
php artisan test --compact
```

Screenshots
-----------

[](#screenshots)

> *Coming soon*

Tech Stack
----------

[](#tech-stack)

LayerTechnologyBackendLaravel 13FrontendReact 19 + Inertia.js 3StylingTailwind CSS 4AuthLaravel Socialite + custom approval workflowDatabaseSQLite (default), MySQL/PostgreSQL compatibleTestingPest + PHPUnitCIGitHub Actions (tests + linter)Security
--------

[](#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
-------

[](#license)

AuthCore is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

10d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e72c9cc66922d9b8942f6b3eefc15df6874e5eaffb7c863f080e14d9695cc82?d=identicon)[eyadcsdev](/maintainers/eyadcsdev)

---

Top Contributors

[![eyadcsdev](https://avatars.githubusercontent.com/u/109054100?v=4)](https://github.com/eyadcsdev "eyadcsdev (9 commits)")

---

Tags

laravelauthsocialiteinertiareactstarter-kit

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/eyadcsdev-auth-core/health.svg)

```
[![Health](https://phpackages.com/badges/eyadcsdev-auth-core/health.svg)](https://phpackages.com/packages/eyadcsdev-auth-core)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.1k2.2k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
