Skip to content
Pebellslearn by building

The course

Laravel

Learn how a Laravel app is set up and how a request moves through it. You will install the tools, pick a starter kit, learn what every project folder is for, map URLs with routes and organise the logic in controllers, all while growing one small book-lending app.

Ready to learn

Your path through the ideas

Inside the course

6 modules · 22 lessons
CLI tools & setup · Start here

Install your tools, choose your setup and verify a local run.

02Getting Started with Laravel4 lessons

Why frameworks exist, the shapes a Laravel app can take, installing everything with Herd, and creating the Lendly project with the installer.

  1. 01Why Web Frameworks?12 min
  2. 02Laravel for Full Stack and Frontend12 min
  3. 03Installing Laravel with Herd12 min
  4. 04Create a New Project15 min
03Starter Kits4 lessons

What a starter kit copies into your app, how Inertia connects Laravel to React or Vue pages, how Livewire makes pages interactive in PHP, and the older Breeze and Jetstream kits you will meet in existing apps.

  1. 01What a Starter Kit Gives You12 min
  2. 02Inertia — Laravel Routes, JavaScript Pages12 min
  3. 03Livewire — Interactive Pages in PHP12 min
  4. 04Breeze and Jetstream15 min
04Request–Response Flow and Project Folders4 lessons

Trace a request from public/index.php through middleware, the router and a controller and back out, then learn what lives in app, bootstrap, config, routes, resources, public, database, storage, tests and vendor.

  1. 01The Request–Response Flow12 min
  2. 02app, bootstrap and config12 min
  3. 03routes, resources and public12 min
  4. 04database, storage, tests and vendor15 min
05Routing5 lessons

Define routes by method and path, serve plain pages with view routes, forward old addresses with redirect routes, capture values with parameters, and link safely with named routes.

  1. 01Basic Routes12 min
  2. 02View Routes12 min
  3. 03Redirect Routes12 min
  4. 04Route Parameters12 min
  5. 05Named Routes15 min
06Controllers5 lessons

Write basic controllers, let route model binding fetch records for you, share settings with route groups, register full CRUD with resource controllers, and give one-off actions their own single-action controller.

  1. 01Basic Controllers12 min
  2. 02Route Model Binding12 min
  3. 03Route Groups12 min
  4. 04Resource Controllers12 min
  5. 05Single-Action Controllers15 min
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.