How goodnesskay/laravel-open-source-projects works
The README describes a categorized directory of Laravel projects and tutorials, but the supplied tree and source excerpts show a Laravel 5.4 application skeleton, not an implementation of that directory. The visible runtime workflow is an HTTP request entering Laravel, being handled by its HTTP kernel and configured routes, then returning a response; the sampled authentication code also supports registration and login. The route-file contents and most runtime modules were not excerpted, so links beyond those explicitly evidenced are omitted.
Main entry points: index.php HTTP front controller · RouteServiceProvider.php Route service · app.php Application bootstrap · Kernel.php HTTP kernel
Components 15
Application entry
- HTTP front controller
public/index.php - Application bootstrap
bootstrap/app.php - Class autoloading
bootstrap/autoload.php
HTTP handling
- HTTP kernel
app/Http/Kernel.php - Route service
app/Providers/RouteServiceProvider.php - Web routes
routes/web.php - API routes
routes/api.php - HTTP middleware
app/Http/Middleware - Base controller
app/Http/Controllers/Controller.php - Exception handling
app/Exceptions/Handler.php
Identity and auth
- Login controller
app/Http/Controllers/Auth/LoginController.php - Registration controller
app/Http/Controllers/Auth/RegisterController.php - Auth configuration
config/auth.php - User model
app/User.php
Other components
- Web client
Connections 9
- Web client → HTTP front controller: sends request
public/index.php - HTTP front controller → Class autoloading: loads classes
public/index.php - HTTP front controller → Application bootstrap: starts application
public/index.php - Application bootstrap → HTTP kernel: binds kernel
bootstrap/app.php - HTTP kernel → HTTP middleware: uses middleware
app/Http/Kernel.php - Route service → Web routes: loads web routes
app/Providers/RouteServiceProvider.php - Route service → API routes: loads API routes
app/Providers/RouteServiceProvider.php - Registration controller → User model: creates user
app/Http/Controllers/Auth/RegisterController.php - Auth configuration → User model: selects model
config/auth.php