Production-ready authentication framework that saves you weeks of development. Features enterprise-grade security: 2FA/TOTP, LDAP integration, intelligent rate limiting, session fingerprinting, brute-force protection, security analytics dashboard, comprehensive audit logging, and granular role-based access control. Start building features, not infrastructure.
π Documentation β’ π§βπ» Developer Documentation β’ π Bug Reports β’ π¬ Discussions
|
|
|
|
The easiest way to run SecStore - Production-ready in under 60 seconds:
# Clone repository
git clone https://github.com/madcoda9000/SecStore.git
cd SecStore
# Configure environment (optional - adjust database passwords)
cp .env.example .env
# Start containers
docker-compose up -d
# Open browser
http://localhost:8000π Done! Follow the web-based setup wizard to configure your database and admin account.
What you get:
- β PHP 8.3 with all required extensions
- β MySQL 8.0 database
- β phpMyAdmin for database management
- β Persistent storage for config, cache, and logs
- β Automatic setup with one command
Full Docker documentation: π README_DOCKER.md
For custom environments or when Docker is not available:
# Clone repository
git clone https://github.com/madcoda9000/SecStore.git
cd SecStore
# Run automatic setup script
chmod +x secstore_setup.sh && ./secstore_setup.sh
# Configure application
cp config.php_TEMPLATE config.php
# -> Edit config.php with your database credentials
# Start development server
php -S localhost:8000 -t publicπ Done! SecStore is running at http://localhost:8000
Default Login: super.admin / Test1000! (
For detailed manual installation: π INSTALL.md
SecStore is designed as a boilerplate for building custom web applications with modern security features built-in.
Learn to extend SecStore with custom pages, controllers, and features
Complete step-by-step guide with practical examples
- π§ Development environment setup
- π Creating Latte templates and controllers
- π£οΈ Adding routes and navigation
- πΎ JavaScript integration (CSP-compliant)
- π Multilingual support implementation
π Authentication & Security
- β Multi-Factor Authentication (MFA/2FA) with TOTP standard
- β LDAP integration for enterprise connectivity
- β Azure / Entra ID SSO for enterprise connectivity
- β Session security with fingerprinting and auto-regeneration
- β Brute-force protection with intelligent blocking mechanisms
- β Password security with BCRYPT hashing (60 characters)
- β CSRF protection for all forms
- β Content Security Policy (CSP) against XSS attacks
β‘ Rate Limiting & DOS Protection
- β Granular rate limiting with scope-based limits
- β Real-time statistics and violation tracking
- β Intelligent throttling based on action sensitivity
- β Admin whitelist functions
- β Automatic cleanup and block management
π₯ User Management
- β Role-based access control (RBAC)
- β Flexible user management with admin interface
- β Bulk actions (Enforce and Unenforce 2fa, delete, Enable and Disable)
- β Self-service profile management
- β Password reset via email (can be enabled/disbaled)
- β Registration system (can be enabled/disabled)
- β 2FA enforcement per user by admins
π Monitoring & Logging
- β Security dashboard with Login Analytics (Heatmap, Hourly, Weekly, Pattern detection)
- β Comprehensive logging (Audit, Security, System, Mail, DB)
- β Log categories with granular configuration
- β Violation tracking and threat intelligence
- β Performance metrics and system health
π¨ User Experience
- β Dark/Light theme with automatic detection
- β Multi-language (German/English)
- β Intuitive admin interface
- β Mobile first every page is mobile optimized
πΌοΈ Show more screenshots
| Backend | |
| Frontend | |
| Database | |
| Security | |
| Tools |
π³ Using Docker? Skip these requirements! Docker handles everything automatically.
See README_DOCKER.md for Docker installation.
For manual installation:
| Component | Minimum | Recommended |
|---|---|---|
| PHP | 8.3+ | 8.3+ (latest) |
| MySQL/MariaDB | 8.0+ / 10.4+ | 8.0+ / 10.6+ |
| Webserver | Apache 2.4 / Nginx 1.18 | Apache 2.4+ / Nginx 1.20+ |
| RAM | 512 MB | 1 GB+ |
| Storage | 100 MB | 500 MB+ |
SecStore follows a Model-View-Controller (MVC) architecture with additional middleware and utility layers for enhanced security.
SecStore/
βββ π app/ # Core Application
β βββ Controllers/ # MVC Controllers
β βββ Models/ # Data Models (Paris ORM)
β βββ Utils/ # Helper Classes (Session, Log, Security, etc.)
β βββ Middleware/ # Request Middleware (CSRF, Auth, Rate Limiting)
β βββ views/ # Latte Templates
β βββ lang/ # Translations (DE/EN)
βββ π public/ # Web Root (Entry Point)
β βββ index.php # Application Bootstrap
β βββ css/ # Stylesheets
β βββ js/ # JavaScript Files
βββ π Documentation/ # Project Documentation
β βββ ARCHITECTURE.md # Complete architecture documentation
β βββ INSTALL.md # Installation Guide
β βββ DEVDOC.md # Developer Guide
β βββ SECURITY.md # Security Policy
β βββ CHANGELOG.md # Version History
βββ π database/ # Database Schema Files
βββ π tests/ # PHPUnit Tests (Unit & Integration)
βββ π cache/ # Template Cache
βββ config.php # Main Configuration
βββ composer.json # Dependencies
- MVC Pattern - Clean separation of concerns
- Middleware Stack - Rate Limiting β CSRF β Authentication β Authorization
- Security-First - Session fingerprinting, CSRF tokens, input validation
- Extensible - Easy to add custom controllers, models, and utilities
- CSP-Compliant - No inline scripts or styles
π For complete architecture details, request lifecycle, and extension guide:
π ARCHITECTURE.md
SecStore is designed as a boilerplate for building custom web applications with modern security features built-in.
# Install dependencies with dev tools
composer install
# Install Git hooks for code quality
./setup-hooks.sh
# Start development server
php -S localhost:8000 -t publicEverything you need to extend SecStore:
π DEVDOC.md - Complete step-by-step developer documentation
What's inside:
- π§ Development environment setup & tools
- π Creating custom pages, controllers, and models
- π£οΈ Adding routes and navigation
- πΎ CSP-compliant JavaScript integration
- π Multilingual support implementation
- π§ͺ Testing strategies and best practices
- π Code quality guidelines and Git workflow
We welcome contributions! π
- Fork the repository
- Create a feature branch
- Follow the guidelines in DEVDOC.md
- Open a Pull Request
Coding Standards:
- β PSR-12 compliant PHP code
- β
Conventional Commits (use
./quick-commit.sh) - β Tests for new features
- β Update documentation
| Document | Description |
|---|---|
| ποΈ ARCHITECTURE.md | Complete technical architecture and request lifecycle |
| π INSTALL.md | Complete manual installation and setup guide |
| π³ README_DOCKER.md | Docker installation guide (recommended) |
| π HANDBOOK.md | Complete Handbook for Users & Adminstrators |
| π§βπ» DEVDOC.md | Developer guide for extending SecStore |
| π§ͺ TESTING.md | Testing strategy and pragmatic approach |
| π SECURITY.md | Security policies and vulnerability reporting |
| π CHANGELOG.md | Version history and release notes |
| π GIT_HOOKS.md | Git hooks setup and usage guide |
Can SecStore be used in production?
Yes! SecStore was built for production environments and implements modern security standards. See SECURITY.md for details.
Does SecStore support Single Sign-On (SSO)?
Through LDAP integration, you can connect SecStore to existing SSO solutions. Native SAML/OAuth2 support is planned.
How can I contribute to the project?
We welcome issues, pull requests, documentation, and feature suggestions! See our contributing guidelines above.
If you like SecStore, give us a β on GitHub! This motivates us to continue working on the project.
Built with β€οΈ for the open-source community







