Pebellslearn by building
RoadmapsMatrixCoursesSandboxSign in

Course details

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 learn5 sections · 22 lessons
Start learning

Course curriculum

Getting 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. Why Web Frameworks?12 min
  2. Laravel for Full Stack and Frontend12 min
  3. Installing Laravel with Herd12 min
  4. Create a New Project15 min
Starter 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. What a Starter Kit Gives You12 min
  2. Inertia — Laravel Routes, JavaScript Pages12 min
  3. Livewire — Interactive Pages in PHP12 min
  4. Breeze and Jetstream15 min
Request–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. The Request–Response Flow12 min
  2. app, bootstrap and config12 min
  3. routes, resources and public12 min
  4. database, storage, tests and vendor15 min
Routing5 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. Basic Routes12 min
  2. View Routes12 min
  3. Redirect Routes12 min
  4. Route Parameters12 min
  5. Named Routes15 min
Controllers5 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. Basic Controllers12 min
  2. Route Model Binding12 min
  3. Route Groups12 min
  4. Resource Controllers12 min
  5. Single-Action Controllers15 min