How cepiperez/baradur works
Baradur is presented as a small Laravel-based PHP framework. Its apparent web workflow is an incoming request handled by the HTTP kernel, with the route provider loading web and API route files; the home controller returns a rendered view. The tree also shows authentication screens, middleware, user-model and database configuration, and framework service providers. Route definitions and most runtime source were not sampled, so links beyond the shown route loading and controller-to-view behavior are intentionally limited.
Main entry points: RouteServiceProvider.php Route provider · index.php Front controller · Kernel.php HTTP kernel · index.blade.php Home view
Components 22
HTTP runtime
- Front controller
public/index.php - HTTP kernel
app/http/Kernel.php - Route provider
app/providers/RouteServiceProvider.php - Web routes
routes/web.php - API routes
routes/api.php - Home controller
app/http/controllers/HomeController.php - HTTP middleware
app/http/middleware/VerifyCsrfToken.php - Exception handling
app/http/exceptions/Handler.php
Identity and access
- Auth screens
resources/views/auth/login.blade.php - Auth middleware
app/http/middleware/RedirectIfAuthenticated.php - User model
app/models/User.php - Auth settings
config/auth.php
Framework services
- Service providers
app/providers/AppServiceProvider.php - Feature flags
app/providers/PennantServiceProvider.php - Custom casters
app/providers/CustomCasterServiceProvider.php - Database settings
config/database.php
Presentation
- Home view
resources/views/index.blade.php - Application layout
resources/views/layouts/app.blade.php - Common layout
resources/views/common/app.blade.php - Translations
lang/es/login.php
Other components
- HTTP client
- Database
Connections 10
- HTTP client → Front controller: sends request
- Front controller → HTTP kernel: hands off
- HTTP kernel → Route provider: boots routing
- Route provider → Web routes: loads web routes
- Route provider → API routes: loads API routes
- Home controller → Home view: returns view
- Home view → Application layout: extends layout
- Application layout → Translations: translates labels
- Auth screens → Common layout: uses layout
- Database settings → Database: configures connection