How dwisusanto29/blog-be works
This is a Lumen-based PHP web application starter with custom registration, login, and a protected user endpoint. The visible authentication flow is implemented in controllers and a user model; the routes file exists, but its contents were not sampled, so routing from the entry point to specific controllers is not asserted. The README describes broader Lumen capabilities, but this tree does not establish application workflows for queues or caching.
Main entry points: app.php App bootstrap · User.php User model · index.php Public entry · AuthController.php Auth controller
Components 11
HTTP entry
- Public entry
public/index.php - Route definitions
routes/web.php
Authentication
- Auth controller
app/Http/Controllers/AuthController.php - Auth provider
app/Providers/AuthServiceProvider.php - User model
app/User.php
User access
- User controller
app/Http/Controllers/UserController.php - Login middleware
app/Http/Middleware/LoginMiddleware.php
Application runtime
- App bootstrap
bootstrap/app.php - Lumen runtime
Other components
- HTTP client
- Relational database
Connections 7
- HTTP client → Public entry: sends request
- Public entry → App bootstrap: loads app
- App bootstrap → Lumen runtime: creates runtime
- App bootstrap → Route definitions: loads routes
- Auth provider → User model: looks up user
- Auth controller → User model: creates, reads, updates
- User model → Relational database: persists users