doppar / doppar
The skeleton application for the Doppar framework
Installs: 170
Dependents: 0
Suggesters: 0
Security: 0
Stars: 42
Watchers: 1
Forks: 4
Open Issues: 0
Type:project
Requires
- php: ^8.3
- doppar/framework: ^2.4
Requires (Dev)
- fakerphp/faker: ^1.23
- mockery/mockery: ^1.6
- phpunit/phpunit: ^12.1.5
This package is auto-updated.
Last update: 2025-09-03 10:31:27 UTC
README
Why Doppar?
Doppar is a modern PHP framework that combines the developer-friendly syntax of Laravel with the solid foundation of Symfony, while introducing its own lightweight, modular, and API-first philosophy.
Key highlights:
- ⚡ Performance-first: Minimal bloat, JIT-compiled Blade templates, and core optimizations.
- 🧩 Modular & Scalable: Feature-based development structure and package architecture.
- 🔒 Secure & API-ready: CSRF, input validation, encryption, API auth, TOTP-based 2FA, rate limiting, and JSON-first controllers.
- 📦 Developer-friendly: Zero-config API Presenter for clean and consistent API responses.
- 🔧 Production-ready: Built-in caching, route optimization, and HTTP performance middleware.
- 🌱 Extensible: Packages with routes, migrations, and service providers for clean scaling.
1. Performance & Lightweight Architecture
- Minimal overhead: Core stripped of third-party dependencies → lightning-fast performance with minimal bloat.
- JIT compilation for Blade templates: Optimizations include:
- Whitespace reduction
- Echo consolidation
- Loop simplification
- Inline small views
- Lazy-loading components
2. Modern, Modular Design
- Inspired by Laravel’s syntax but built on Symfony’s solid foundation.
- Encourages feature-based development structure → promotes organization and scalability.
- Includes robust features out of the box:
- Routing
- Middleware
- Service container
- Validation
- ORM
- Caching
- API authentication
- Rate limiting
- CLI tooling
3. Security and API-readiness
-
Built-in security features:
- CSRF protection
- Input validation
- Encryption utilities
- Header-based authentication
- Throttling & middleware-driven rate limiting
-
Strong API-first focus:
- JSON-first controllers
- Built-in rate limiting
- API authentication with Flarion
- Standardized JSON responses
-
API Presenter Bundle: Fully internal, zero-config API presenter. No overrides required.
-
Two-Factor Authentication (TOTP): Industry-standard TOTP-based authentication for secure user accounts.
4. Extensibility & Package Architecture
- Modular package system with:
- Routes
- Migrations
- Views
- Service providers
- Improves adaptability, reusability, and scalability.
- Service providers handle setup and bootstrapping → clean separation of concerns, ideal for large/complex applications.
5. Production Readiness
- Optimization tools for live environments:
- Route caching
- View caching
- Config caching
- Middleware support for HTTP caching (e.g., ETags) → improves client-side performance and reduces server load.
Contributing
Thank you for considering contributing to the Doppar framework! The contribution guide can be found in the Doppar documentation.
Code of Conduct
In order to ensure that the Doppar community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The Doppar framework is open-sourced software licensed under the MIT license.