Ana Sayfa / Kod ve Scriptler / AuthCore PHP - Login Scripts

AuthCore PHP - Login Scripts

Giriş, kayıt, e-posta doğrulama, beni hatırla oturumları, parola sıfırlama ve herhangi bir web uygulaması için yönetici arayüzü içeren güvenli PHP kimlik doğrulama.

  • Yayın tarihi14 Haziran 2026
  • Nerede çalışırPHP 8.1
  • Paket içeriği.php, .css, .html, .sql, JavaScript .js
  • Son güncelleme14 Haziran 2026
  • Canlı demoVar
AuthCore PHP - Login Scripts

Overview

AuthCore PHP helps developers add secure authentication to PHP projects without rebuilding the same login, registration, password reset, verification, and user-management features from scratch. It uses plain PHP, PDO SQLite, hardened sessions, CSRF protection, hashed passwords, expiring email tokens, and reusable include guards that can be dropped into existing apps.

Use it as a standalone auth starter or integrate it into dashboards, CMSs, admin panels, intranets, portals, and client projects.

Features

- Secure login and logout - User registration - Email verification before login - Password reset with expiring single-use tokens - Remember-me functionality with rotating selector/validator tokens - Admin user-management panel - User roles: `user` and `admin` - User statuses: `active` and `disabled` - Admin controls for roles, status, verification, deletion, and installer tools - Last active admin protection - Profile update and password change page - SQLite database with PDO - No Composer dependencies - Hashed passwords with PHP `password_hash()` - CSRF protection on state-changing forms - Session hardening with HttpOnly and SameSite cookies - Login attempt rate limiting - Audit event logging - Reusable guards: `require_login.php` and `require_admin.php` - Responsive built-in UI in `assets/auth.css` - Installer with first-admin setup - Admin-only reset and reinstall controls - Mail wrapper for PHP `mail()` with log fallback

Requirements

- PHP 8.1 or newer - PHP extensions: `PDO`, `pdo_sqlite`, `openssl`, `mbstring`, and `session` - A writable `storage/` directory - Web server access to the project folder - Host mail support for PHP `mail()` if you want real verification and reset emails - HTTPS in production for secure session and remember-me cookies