Guide Book

Guide Book

A reference you can read front to back or dip into. Every chapter explains the syntax, and most topics have a πŸ” Behind the scenes section you can open to see what Python is actually doing, the details classes usually skip. Look for 🧭 Scenario cards for real-world uses, and press Try it on any example, then open the Inspect tab to look inside.

  1. Chapter 1How a request becomes a responseThe journey from `public/index.php` to the bytes a browser receives β€” and the one object that makes it all fit together.
  2. Chapter 2The service containerAutomatic dependency injection, binding and resolving, singletons and contextual bindings β€” the machine the whole framework is built on.
  3. Chapter 3Service providers & configurationWhere every binding is registered, why `register` and `boot` are separate, and how `.env`, config files and caching fit together.
  4. Chapter 4Facades, helpers & contractsWhat `Route::get()` really does, why facades are not static calls, and how to choose between a facade, a helper and an injected contract.
  5. Chapter 5RoutingVerbs, parameters and constraints, named routes, groups, model binding and fallbacks β€” plus how the router decides which route wins.
  6. Chapter 6Middleware & the pipelineThe onion model, before and after work, parameters and groups, terminable middleware β€” and the pipeline class that powers it all.
  7. Chapter 7Requests, validation & responsesReading input safely, the validator and form requests, and every way to build a response.
  8. Chapter 8BladeHow a template becomes compiled PHP, the directive set worth knowing, layouts and components, and why `{{ }}` is the security boundary.
  9. Chapter 9The database layerMigrations, the query builder, bindings and why they matter, transactions, and how to see the SQL Laravel actually runs.
  10. Chapter 10EloquentModels, mass assignment, relationships, eager loading and the N+1 problem, accessors, casts, scopes and events.
  11. Chapter 11Events, queues & cacheDecoupling with events and listeners, moving work off the request with queues, and the cache API β€” including the locks that stop two workers doing the same job.
  12. Chapter 12Artisan & testingWriting console commands, the scheduler, and the fakes and helpers that make a Laravel application testable end to end.
lesson.php
Loading editor…
No output yet
Press Run or βŒ˜β†΅ to compile and run your code.

Search

Jump to a lesson or a past run